Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dig1t committed Jun 22, 2024
1 parent 8676413 commit babdfcc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: rojo sourcemap dev.project.json --include-non-scripts --output sourcemap.json

- name: Lint with luau-lsp
run: luau-lsp analyze --defs=globalTypes.d.luau --sourcemap=sourcemap.json --no-strict-dm-types --ignore=Packages/** --ignore=*.spec.luau --ignore=*.spec.luau --ignore=examples/** --ignore=modules/** --flag:LuauTinyControlFlowAnalysis=True src
run: luau-lsp analyze --defs=globalTypes.d.luau --sourcemap=sourcemap.json --no-strict-dm-types --ignore=Packages/** --ignore=*.spec.luau --ignore=examples/** --ignore=modules/** --flag:LuauTinyControlFlowAnalysis=True src

- name : Lint with selene
run: selene src
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"luau-lsp.diagnostics.workspace": true,
"luau-lsp.require.mode": "relativeToWorkspaceRoot",
"luau-lsp.require.mode": "relativeToFile",
"luau-lsp.sourcemap.autogenerate": true,
"luau-lsp.sourcemap.enabled": true,
"luau-lsp.sourcemap.rojoProjectFile": "dev.project.json",
"luau-lsp.sourcemap.includeNonScripts": true,
"luau-lsp.diagnostics.strictDatamodelTypes": false,
"luau-lsp.types.definitionFiles": [
"testez.d.luau"
],
Expand Down

0 comments on commit babdfcc

Please sign in to comment.