eslint-config-isaacscript 3.0.1 → 3.0.2

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 (2) hide show
  1. package/mod.js +17 -0
  2. package/package.json +1 -1
package/mod.js CHANGED
@@ -52,6 +52,23 @@ module.exports = {
52
52
  },
53
53
  ],
54
54
 
55
+ /**
56
+ * Documentation:
57
+ * https://typescript-eslint.io/rules/no-base-to-string/
58
+ *
59
+ * Defined at:
60
+ * https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/strict.ts
61
+ *
62
+ * The `Vector` object has a `tostring` meta-method, so it can be properly printed without
63
+ * explicitly specifying the X and Y values.
64
+ */
65
+ "@typescript-eslint/no-base-to-string": [
66
+ "warn",
67
+ {
68
+ ignoredTypeNames: ["Vector"],
69
+ },
70
+ ],
71
+
55
72
  /**
56
73
  * Documentation:
57
74
  * https://typescript-eslint.io/rules/no-invalid-void-type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-isaacscript",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "A sharable ESLint config for TypeScript and IsaacScript projects.",
5
5
  "keywords": [
6
6
  "eslint",