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.
@@ -164,7 +164,9 @@ const SUGGESTIONS = {
164
164
  "func-style": "off",
165
165
 
166
166
  "grouped-accessor-pairs": "error",
167
- "guard-for-in": "error",
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",
@@ -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://github.com/iamturns/eslint-config-airbnb-typescript/blob/master/lib/shared.js).
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
- "import/default": "error",
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://github.com/import-js/eslint-plugin-import/blob/main/config/typescript.js).
100
+ * compiler](https://typescript-eslint.io/linting/troubleshooting/performance-troubleshooting/#eslint-plugin-import).
97
101
  */
98
102
  "import/named": "off",
99
103
 
100
- "import/namespace": "error",
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",
@@ -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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-isaacscript",
3
- "version": "4.15.0",
3
+ "version": "4.17.0",
4
4
  "description": "A sharable ESLint config for TypeScript and IsaacScript projects.",
5
5
  "keywords": [
6
6
  "eslint",