eslint-config-isaacscript 3.6.1 → 3.7.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.
Files changed (3) hide show
  1. package/base.js +8 -1
  2. package/mod.js +10 -0
  3. package/package.json +1 -1
package/base.js CHANGED
@@ -342,7 +342,14 @@ module.exports = {
342
342
  */
343
343
  "unicorn/prefer-node-protocol": "warn",
344
344
 
345
- // TEST
345
+ /**
346
+ * Documentation:
347
+ * https://eslint.org/docs/latest/rules/no-restricted-syntax
348
+ *
349
+ * Not defined in parent configs.
350
+ *
351
+ * Prevent superfluous type annotations, which can cause bugs with widened types.
352
+ */
346
353
  // https://github.com/typescript-eslint/typescript-eslint/issues/6446
347
354
  "no-restricted-syntax": [
348
355
  "warn",
package/mod.js CHANGED
@@ -142,6 +142,16 @@ module.exports = {
142
142
  */
143
143
  "isaacscript/no-throw": "warn",
144
144
 
145
+ /**
146
+ * Documentation:
147
+ * https://github.com/IsaacScript/isaacscript/blob/main/packages/eslint-plugin-isaacscript/docs/rules/require-v-registration.md
148
+ *
149
+ * Not defined in the parent configs.
150
+ *
151
+ * We must explicitly enable this rule, since it should only apply to IsaacScript mods.
152
+ */
153
+ "isaacscript/require-v-registration": "warn",
154
+
145
155
  /**
146
156
  * Documentation:
147
157
  * https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/file-extension-in-import.md
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-isaacscript",
3
- "version": "3.6.1",
3
+ "version": "3.7.0",
4
4
  "description": "A sharable ESLint config for TypeScript and IsaacScript projects.",
5
5
  "keywords": [
6
6
  "eslint",