mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Add the ability to load a type definition file before type checking. This is useful in projects that'd like to declare their own types (such as types declared by their game engine's Luau integration code) and linting their scripts using 'luau-analyze'. This is modeled to behave similar to the luau-lsp.types.definitionFiles in the Luau LSP project (https://github.com/JohnnyMorganz/luau-lsp). Usage example: luau-analyze --definitions=engine_types.d.luau some_script.luau Note: doesn't introduce new clang-format delta, but the edited file already deviates from what clang-format produces. for #1140 |
||
---|---|---|
.. | ||
Analyze.cpp | ||
Ast.cpp | ||
Bytecode.cpp | ||
Compile.cpp | ||
Coverage.cpp | ||
Coverage.h | ||
FileUtils.cpp | ||
FileUtils.h | ||
Flags.cpp | ||
Flags.h | ||
Profiler.cpp | ||
Profiler.h | ||
Reduce.cpp | ||
Repl.cpp | ||
Repl.h | ||
ReplEntry.cpp | ||
Require.cpp | ||
Require.h | ||
Web.cpp |