-
-
Notifications
You must be signed in to change notification settings - Fork 932
Closed
Labels
A-linterArea - LinterArea - LinterC-bugCategory - BugCategory - Buggood first issueExperience Level - Good for newcomersExperience Level - Good for newcomers
Description
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?
{
"categories": {
"correctness": "off",
"nursery": "deny"
}
}
What happened?
With this configuration I get the eslint-plugin-tree-shaking enabled.
× eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling member function
╭─[scripts/constants.ts:5:33]
4 │
5 │ export const TARGET_DIRECTORY = path.resolve(__dirname, '..', '.oxc_sparse');
· ────────────
6 │ export const VERSION_PREFIX = 'oxlint_v';
╰────
Finished in 18ms on 21 files with 5 rules using 24 threads.
I can't disable it
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-linterArea - LinterArea - LinterC-bugCategory - BugCategory - Buggood first issueExperience Level - Good for newcomersExperience Level - Good for newcomers
Type
Fields
Give feedbackPriority
None yet