eslint-config-isaacscript 4.14.1 → 4.16.0
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/configs/base-eslint.js
CHANGED
|
@@ -164,7 +164,9 @@ const SUGGESTIONS = {
|
|
|
164
164
|
"func-style": "off",
|
|
165
165
|
|
|
166
166
|
"grouped-accessor-pairs": "error",
|
|
167
|
-
|
|
167
|
+
|
|
168
|
+
/** Superseded by the `isaacscript/no-for-in` rule. */
|
|
169
|
+
"guard-for-in": "off",
|
|
168
170
|
|
|
169
171
|
/** Disabled since it is expected to be configured with project-specific keywords. */
|
|
170
172
|
"id-denylist": "off",
|
|
@@ -149,6 +149,7 @@ const SUPPORTED_RULES = {
|
|
|
149
149
|
"@typescript-eslint/no-unsafe-return": "error",
|
|
150
150
|
"@typescript-eslint/no-unsafe-unary-minus": "error",
|
|
151
151
|
"@typescript-eslint/no-useless-empty-export": "error",
|
|
152
|
+
"@typescript-eslint/no-useless-template-literals": "error",
|
|
152
153
|
"@typescript-eslint/no-var-requires": "error",
|
|
153
154
|
"@typescript-eslint/non-nullable-type-assertion-style": "error",
|
|
154
155
|
"@typescript-eslint/parameter-properties": "error",
|
package/configs/base-unicorn.js
CHANGED
|
@@ -71,6 +71,7 @@ const NORMAL_RULES = {
|
|
|
71
71
|
|
|
72
72
|
"unicorn/no-typeof-undefined": "error",
|
|
73
73
|
"unicorn/no-unnecessary-await": "error",
|
|
74
|
+
"unicorn/no-unnecessary-polyfills": "error",
|
|
74
75
|
"unicorn/no-unreadable-array-destructuring": "error",
|
|
75
76
|
"unicorn/no-unreadable-iife": "error",
|
|
76
77
|
"unicorn/no-unused-properties": "error",
|