🔧 Allow ternaries and lowercase comments
Turn off `eslint/no-ternary` and `eslint/capitalized-comments` in the project config: both encode a style the project rejects, so they belong in the config's rule map rather than a per-site disable. Scope the adjacent `oxlint-disable` decision to false positives and record why a rejected stylistic rule is turned off project-wide.
This commit is contained in:
1 parent
71ecd508b7
commit
fa0b7f2e84
2 files changed
+30
-5
No files matched your search
@@ -13,6 +13,8 @@
|
||||
"eslint/no-undefined": "off",
|
||||
"eslint/sort-keys": "off",
|
||||
"eslint/id-length": "off",
|
||||
"eslint/capitalized-comments": "off",
|
||||
"eslint/no-ternary": "off",
|
||||
"import/no-named-export": "off",
|
||||
"eslint/one-var": "off",
|
||||
"import/group-exports": "off",
|
||||
|
||||
Reference in new issue
Block a user