-
-
Notifications
You must be signed in to change notification settings - Fork 497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linter: plugin tree_shaking
is enabled by default
#7031
Labels
Comments
18 tasks
Boshen
pushed a commit
to oxc-project/eslint-plugin-oxlint
that referenced
this issue
Nov 2, 2024
closes #194 Long way for the goal: - [x] support simple "rules" block - [x] support simple "categories" block - [x] support simple "plugins" block - [x] support "categories" on, and "rules" off * - [x] support "plugins" on, and "rules off * - [x] numbers instead of `off`, `warn` or `error` - [x] configuration array like: `no-magic_numbers: ["off", {...}]` - [x] filter rules which are not enabled by plugin - [x] all other wierd combinations - [x] enable eslint always - [x] check import from `../scripts` folder in build file - [x] support jsonc / comments in files - [x] prepare for overrides oxc-project/oxc#6974 - [x] Docs - [x] more tests - [x] test rules count with oxlint command - [x] ~~depends on oxc-project/oxc#6896 workaround in tests - [x] ~~depends on oxc-project/oxc#7031 disabled `nursery` in integration test \* the rules block overrides the rules from the other blocks, so this should be enabled in eslint ```json { "categories": { "correctness": "error", } "rules": { "no-invalid-regexp": "off" } } ```
Boshen
added a commit
that referenced
this issue
Nov 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
What version of Oxlint are you using?
latest
What command did you run?
npx oxlint --config=oxlint.json --disable-typescript-plugin --disable-oxc-plugin --disable-unicorn-plugin --disable-react-plugin
What does your
.oxlint.json
config file look like?What happened?
With this configuration I get the
eslint-plugin-tree-shaking
enabled.I can't disable it
The text was updated successfully, but these errors were encountered: