mirror of
https://github.com/theoludwig/eslint-config-conventions.git
synced 2026-02-28 16:02:59 +01:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
23cba0a069
|
|||
|
a0a8e24e1a
|
@@ -245,14 +245,7 @@
|
|||||||
"@typescript-eslint/no-require-imports": "error",
|
"@typescript-eslint/no-require-imports": "error",
|
||||||
"@typescript-eslint/prefer-function-type": "error",
|
"@typescript-eslint/prefer-function-type": "error",
|
||||||
"@typescript-eslint/prefer-find": "error",
|
"@typescript-eslint/prefer-find": "error",
|
||||||
"@typescript-eslint/prefer-nullish-coalescing": [
|
"@typescript-eslint/prefer-nullish-coalescing": "off",
|
||||||
"error",
|
|
||||||
{
|
|
||||||
"ignoreTernaryTests": true,
|
|
||||||
"ignoreConditionalTests": false,
|
|
||||||
"ignoreMixedLogicalExpressions": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"@typescript-eslint/prefer-readonly": "error",
|
"@typescript-eslint/prefer-readonly": "error",
|
||||||
"@typescript-eslint/prefer-reduce-type-parameter": "error",
|
"@typescript-eslint/prefer-reduce-type-parameter": "error",
|
||||||
"@typescript-eslint/prefer-return-this-type": "error",
|
"@typescript-eslint/prefer-return-this-type": "error",
|
||||||
|
|||||||
@@ -431,14 +431,7 @@ export default defineConfig(
|
|||||||
"@typescript-eslint/prefer-find": "error",
|
"@typescript-eslint/prefer-find": "error",
|
||||||
"@typescript-eslint/prefer-includes": "error",
|
"@typescript-eslint/prefer-includes": "error",
|
||||||
|
|
||||||
"@typescript-eslint/prefer-nullish-coalescing": [
|
"@typescript-eslint/prefer-nullish-coalescing": "off",
|
||||||
"error",
|
|
||||||
{
|
|
||||||
ignoreTernaryTests: true,
|
|
||||||
ignoreConditionalTests: false,
|
|
||||||
ignoreMixedLogicalExpressions: false,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
|
|
||||||
"@typescript-eslint/prefer-readonly": "error",
|
"@typescript-eslint/prefer-readonly": "error",
|
||||||
"@typescript-eslint/prefer-reduce-type-parameter": "error",
|
"@typescript-eslint/prefer-reduce-type-parameter": "error",
|
||||||
|
|||||||
Reference in New Issue
Block a user