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 | |
|---|---|---|---|
|
a0a8e24e1a
|
|||
|
6cbb2168a2
|
@@ -16,8 +16,10 @@
|
|||||||
"perf": "error"
|
"perf": "error"
|
||||||
},
|
},
|
||||||
"env": {
|
"env": {
|
||||||
|
"builtin": true,
|
||||||
"browser": true,
|
"browser": true,
|
||||||
"node": true
|
"node": true,
|
||||||
|
"shared-node-browser": true
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-await-in-loop": "off",
|
"no-await-in-loop": "off",
|
||||||
@@ -243,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": "error",
|
||||||
"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",
|
||||||
|
|||||||
Reference in New Issue
Block a user