aboutsummaryrefslogtreecommitdiffhomepage
path: root/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json21
1 files changed, 20 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 770913bf1..df9284882 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -104,7 +104,26 @@
104 "@typescript-eslint/require-await": "error", 104 "@typescript-eslint/require-await": "error",
105 105
106 // bugged but useful 106 // bugged but useful
107 "@typescript-eslint/restrict-plus-operands": "off" 107 "@typescript-eslint/restrict-plus-operands": "off",
108
109 // Requires strictNullChecks
110 "@typescript-eslint/prefer-nullish-coalescing": "off",
111 "@typescript-eslint/consistent-type-imports": "off",
112 "@typescript-eslint/consistent-indexed-object-style": "off",
113 "@typescript-eslint/no-confusing-void-expression": "off",
114 "@typescript-eslint/consistent-type-exports": "off",
115 "@typescript-eslint/key-spacing": "off",
116
117 "@typescript-eslint/ban-types": [
118 "error",
119 {
120 "types": {
121 "{}": false,
122 "Function": false
123 },
124 "extendDefaults": true
125 }
126 ]
108 }, 127 },
109 "ignorePatterns": [ 128 "ignorePatterns": [
110 "node_modules/" 129 "node_modules/"