eslint-config-isaacscript 4.15.0 → 4.17.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 +3 -1
- package/configs/base-import.js +13 -4
- package/configs/base-unicorn.js +1 -0
- package/package.json +1 -1
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",
|
package/configs/base-import.js
CHANGED
|
@@ -63,7 +63,7 @@ const HELPFUL_WARNINGS = {
|
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
65
|
* Disabled because this is [already handled by the TypeScript
|
|
66
|
-
* compiler](https://
|
|
66
|
+
* compiler](https://typescript-eslint.io/linting/troubleshooting/performance-troubleshooting/#eslint-plugin-import).
|
|
67
67
|
*/
|
|
68
68
|
"import/no-named-as-default-member": "off",
|
|
69
69
|
|
|
@@ -89,15 +89,24 @@ const MODULE_SYSTEMS = {
|
|
|
89
89
|
|
|
90
90
|
/** @type {import("eslint").Linter.RulesRecord} */
|
|
91
91
|
const STATIC_ANALYSIS = {
|
|
92
|
-
|
|
92
|
+
/**
|
|
93
|
+
* Disabled because this is [already handled by the TypeScript
|
|
94
|
+
* compiler](https://typescript-eslint.io/linting/troubleshooting/performance-troubleshooting/#eslint-plugin-import).
|
|
95
|
+
*/
|
|
96
|
+
"import/default": "off",
|
|
93
97
|
|
|
94
98
|
/**
|
|
95
99
|
* Disabled because this is [already handled by the TypeScript
|
|
96
|
-
* compiler](https://
|
|
100
|
+
* compiler](https://typescript-eslint.io/linting/troubleshooting/performance-troubleshooting/#eslint-plugin-import).
|
|
97
101
|
*/
|
|
98
102
|
"import/named": "off",
|
|
99
103
|
|
|
100
|
-
|
|
104
|
+
/**
|
|
105
|
+
* Disabled because this is [already handled by the TypeScript
|
|
106
|
+
* compiler](https://typescript-eslint.io/linting/troubleshooting/performance-troubleshooting/#eslint-plugin-import).
|
|
107
|
+
*/
|
|
108
|
+
"import/namespace": "off",
|
|
109
|
+
|
|
101
110
|
"import/no-absolute-path": "error",
|
|
102
111
|
"import/no-cycle": "error",
|
|
103
112
|
"import/no-dynamic-require": "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",
|