Add option to turn off duplicate lints serviced by luau-lsp #580
Labels
A-bin
Area: selene, the program
A-config
Area: Configuring selene
A-luau
Area: Luau
C-enhancement
Category: Feature request or improvement
We've heard from several selene + luau-lsp users that duplicate lints of the same thing coming from both tools were annoying enough to turn one off entirely. I propose we add an option to turn off lints that already exist in luau-lsp. This would exist as a
selene.toml
config so both the cli and extension can consume it.Note that lints like argument count mismatching are duplicate, but we'd need to handle cases where they deviate or agree depending on the specific case (e.g., passing two args to
Instance.new()
is allowed by luau-lsp but not selene. In this case we'd keep the warning, but not for other arg count cases where selene and luau-lsp agree).Alternatives
The text was updated successfully, but these errors were encountered: