What version of Oxlint are you using?
0.15.6
What command did you run?
oxlint -c .oxlintrc.json src
What does your .oxlint.json config file look like?
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"env": {
"browser": true,
"es2024": true
},
"settings": {},
"plugins": ["oxc", "typescript", "unicorn"],
"categories": {
"correctness": "error",
"perf": "error",
"suspicious": "error",
"restriction": "error",
"style": "warn",
"pedantic": "warn",
"nursery": "off"
},
"rules": {
"no-nested-ternary": "off",
"eslint/no-nested-ternary": "off",
"unicorn/no-nested-ternary": "off"
}
}
What happened?
Since the new 'eslint/no-nested-ternary' rule appeared in 0.15.x (duplicating/replacing the previous unicorn/no-nested-ternary rule?), it seems it cannot be deactivated anymore. With the above setup the rule is still active and generates warning.
It was not the case in 0.14.x
What version of Oxlint are you using?
0.15.6
What command did you run?
oxlint -c .oxlintrc.json src
What does your
.oxlint.jsonconfig file look like?{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"env": {
"browser": true,
"es2024": true
},
"settings": {},
"plugins": ["oxc", "typescript", "unicorn"],
"categories": {
"correctness": "error",
"perf": "error",
"suspicious": "error",
"restriction": "error",
"style": "warn",
"pedantic": "warn",
"nursery": "off"
},
"rules": {
"no-nested-ternary": "off",
"eslint/no-nested-ternary": "off",
"unicorn/no-nested-ternary": "off"
}
}
What happened?
Since the new 'eslint/no-nested-ternary' rule appeared in 0.15.x (duplicating/replacing the previous unicorn/no-nested-ternary rule?), it seems it cannot be deactivated anymore. With the above setup the rule is still active and generates warning.
It was not the case in 0.14.x