eslint-config-isaacscript 4.12.0 → 4.14.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.
@@ -243,6 +243,8 @@ const config = {
243
243
  files: ["*.js", "*.cjs", "*.mjs", "*.jsx"],
244
244
  rules: {
245
245
  "jsdoc/no-types": "off",
246
+ "jsdoc/require-param-description": "off",
247
+ "jsdoc/require-returns-description": "off",
246
248
  },
247
249
  },
248
250
  ],
@@ -171,8 +171,8 @@ const SUPPORTED_RULES = {
171
171
  },
172
172
  },
173
173
  {
174
- // We disable this for renamed properties, this this is a valid use-case.
175
- // e.g. `const collectibleUsedToShowFlight = CollectibleType.FATE;`
174
+ // We disable this for renamed properties, since code like the following should be valid:
175
+ // `const someSpecificMyEnum = MyEnum.Value1;`
176
176
  enforceForRenamedProperties: false,
177
177
  },
178
178
  ],
@@ -193,7 +193,7 @@ const SUPPORTED_RULES = {
193
193
 
194
194
  "@typescript-eslint/prefer-readonly": "error",
195
195
 
196
- /** Disabled since it is causes too much busy-work. */
196
+ /** Superseded by the `isaacscript/prefer-readonly-parameter-types` rule. */
197
197
  "@typescript-eslint/prefer-readonly-parameter-types": "off",
198
198
 
199
199
  "@typescript-eslint/prefer-reduce-type-parameter": "error",
package/mod.js CHANGED
@@ -14,6 +14,14 @@ const config = {
14
14
  ],
15
15
 
16
16
  rules: {
17
+ /**
18
+ * Defined at: base-typescript-eslint.js
19
+ *
20
+ * It is conventional in IsaacScript mods to put the "v" object outside of the class, which
21
+ * makes it likely that some methods will not use any internal class variables.
22
+ */
23
+ "@typescript-eslint/class-methods-use-this": "off",
24
+
17
25
  /**
18
26
  * Defined at: base-typescript-eslint.js
19
27
  *
@@ -115,14 +123,6 @@ const config = {
115
123
  */
116
124
  "@typescript-eslint/require-array-sort-compare": "off",
117
125
 
118
- /**
119
- * Defined at: base-typescript-eslint.js
120
- *
121
- * It is conventional in IsaacScript mods to put the "v" object outside of the class, which
122
- * makes it likely that some methods will not use any internal class variables.
123
- */
124
- "@typescript-eslint/class-methods-use-this": "off",
125
-
126
126
  /**
127
127
  * Defined in "isaacscript/recommended".
128
128
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-isaacscript",
3
- "version": "4.12.0",
3
+ "version": "4.14.0",
4
4
  "description": "A sharable ESLint config for TypeScript and IsaacScript projects.",
5
5
  "keywords": [
6
6
  "eslint",