The eslint VS Code extension allows remapping the severity of rules which is mainly used to downgrade them from errors to warnings and warnings to hints. The reason for this is that lint errors, while important are not as critical as type errors so differentiating them visually can be quite helpful.
Ideally this would just use the same format but using the oxlint namespace instead:
In this example, all rules are overridden to warnings:
"eslint.rules.customizations": [
{ "rule": "*", "severity": "warn" }
]
In this example, no- rules are informative, other rules are downgraded, and "radix" is reset to default:
"eslint.rules.customizations": [
{ "rule": "no-*", "severity": "info" },
{ "rule": "!no-*", "severity": "downgrade" },
{ "rule": "radix", "severity": "default" }
]
In this example, all autofixable rules are overridden to info:
"eslint.rules.customizations": [
{ "rule": "*", "fixable": true, "severity": "info" }
]
The eslint VS Code extension allows remapping the severity of rules which is mainly used to downgrade them from errors to warnings and warnings to hints. The reason for this is that lint errors, while important are not as critical as type errors so differentiating them visually can be quite helpful.
Ideally this would just use the same format but using the oxlint namespace instead: