@10stars/config 9.1.1 → 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 -1
- package/package.json +1 -1
package/.eslintrc.js
CHANGED
|
@@ -164,10 +164,17 @@ module.exports = {
|
|
|
164
164
|
* - @typescript-eslint/explicit-module-boundary-types
|
|
165
165
|
* - @typescript-eslint/no-require-imports
|
|
166
166
|
* - @typescript-eslint/no-type-alias
|
|
167
|
-
* - @typescript-eslint/no-unnecessary-condition
|
|
168
167
|
* - @typescript-eslint/strict-boolean-expressions // doesn't work well
|
|
169
168
|
*/
|
|
170
169
|
// disabled recommended rules
|
|
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
|
|
171
178
|
"@typescript-eslint/no-unused-vars": type.ignore, // removed by bundler, so it shouldn't be a rule
|
|
172
179
|
"@typescript-eslint/no-empty-function": type.ignore, // used for prototyping
|
|
173
180
|
"@typescript-eslint/no-explicit-any": type.ignore,
|