@10stars/config 9.1.2 → 9.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +8 -6
- package/package.json +1 -1
package/.eslintrc.js
CHANGED
|
@@ -167,12 +167,14 @@ module.exports = {
|
|
|
167
167
|
* - @typescript-eslint/strict-boolean-expressions // doesn't work well
|
|
168
168
|
*/
|
|
169
169
|
// disabled recommended rules
|
|
170
|
-
"@typescript-eslint/prefer-nullish-coalescing":
|
|
171
|
-
"@typescript-eslint/consistent-indexed-object-style":
|
|
172
|
-
"@typescript-eslint/no-throw-literal":
|
|
173
|
-
"@typescript-eslint/no-unnecessary-condition":
|
|
174
|
-
"@typescript-eslint/no-confusing-void-expression":
|
|
175
|
-
"@typescript-eslint/no-invalid-void-type":
|
|
170
|
+
"@typescript-eslint/prefer-nullish-coalescing": type.ignore, // doesn't make sense sometimes and actually could introduce a bug
|
|
171
|
+
"@typescript-eslint/consistent-indexed-object-style": type.ignore,
|
|
172
|
+
"@typescript-eslint/no-throw-literal": type.ignore,
|
|
173
|
+
"@typescript-eslint/no-unnecessary-condition": type.ignore,
|
|
174
|
+
"@typescript-eslint/no-confusing-void-expression": type.ignore,
|
|
175
|
+
"@typescript-eslint/no-invalid-void-type": type.ignore,
|
|
176
|
+
"@typescript-eslint/no-dynamic-delete": type.ignore, // we use it for "unset" function
|
|
177
|
+
"@typescript-eslint/no-empty-interface": type.ignore, // most of the time it's a work-in-progress interface
|
|
176
178
|
"@typescript-eslint/no-unused-vars": type.ignore, // removed by bundler, so it shouldn't be a rule
|
|
177
179
|
"@typescript-eslint/no-empty-function": type.ignore, // used for prototyping
|
|
178
180
|
"@typescript-eslint/no-explicit-any": type.ignore,
|