-
-
Notifications
You must be signed in to change notification settings - Fork 725
Labels
A-linterArea - LinterArea - Linter
Description
What version of Oxlint are you using?
1.22.0
What command did you run?
pnpm exec oxlint
What does your .oxlintrc.json config file look like?
What happened?
Using this config file with the example JS plugin from the blogpost it won't report any debugger statements. When I remove the overrides field it works as expected. The same works for the native no-debugger rule as expected.
Metadata
Metadata
Assignees
Labels
A-linterArea - LinterArea - Linter
{ "$schema": "./node_modules/oxlint/configuration_schema.json", "jsPlugins": ["./plugin.js"], "categories": { "correctness": "off" }, "rules": { "best-plugin-ever/no-debugger": "error" }, "overrides": [ { "files": ["**/*.ts", "**/*.tsx"], "rules": { "no-class-assign": "error" } } ] }