Open alterae opened 7 months ago
To clarify, is this what's happening?
~/code/factorio/chunk-power
in vscode~/Library/**/*.lua
no, external files are getting linted without me directly opening them (tho the files it lints seem to be ones the lua LSP is aware of/using for type-checking
Expected Behavior
Selene's VS Code extension should only lint files present in the workspace root. IE: given a workspace with the root
~/code/factorio/chunk-power
the extension should only lint files under that directory.Actual Behavior
The extension lints workspace files, but also lints files such as
~/.vscode/extensions/sumneko.lua-3.7.4-darwin-arm64/server/meta/Lua 5.2 en-us utf8/basic.lua
and~/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data/base/scenarios/freeplay/freeplay.lua
when other extensions use those files to aid static analysis.