-
-
Notifications
You must be signed in to change notification settings - Fork 735
Labels
A-linterArea - LinterArea - Linter
Description
What version of Oxlint are you using?
1.24.0
What command did you run?
No response
What does your .oxlintrc.json config file look like?
// base.json
{
"overrides": [
{
"files": ["**/*.js"],
"rules": {
"no-console": "error"
}
}
]
}What happened?
I would expect scripts/foo.js to not warn about no-console. However, it does. This is because the overrides from the extends are appended to the main config, meaning they come later and take precedence. This seems backwards of how we want it. The extends should come first and then overrides in that file should come after what ever was in the extends.
Metadata
Metadata
Assignees
Labels
A-linterArea - LinterArea - Linter