eslint-config-isaacscript 3.0.2 → 3.1.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 +6 -0
  2. package/jsdoc.js +16 -0
  3. package/package.json +1 -1
package/base.js CHANGED
@@ -65,6 +65,12 @@ module.exports = {
65
65
  */
66
66
  "only-warn",
67
67
 
68
+ /**
69
+ * Activate the "no-type-assertion" plugin, which allows the "no-type-assertion" rule to be
70
+ * optionally enabled on a per-project basis.
71
+ */
72
+ "no-type-assertion",
73
+
68
74
  /**
69
75
  * Activate the "sort-exports" plugin, which allows the "sort-exports" rule to be optionally
70
76
  * enabled on a per-project basis.
package/jsdoc.js CHANGED
@@ -61,6 +61,11 @@ module.exports = {
61
61
  // https://typescripttolua.github.io/docs/advanced/compiler-annotations
62
62
  "noResolution",
63
63
  "noSelf",
64
+
65
+ // Ignore tags used in ts-json-schema-generator:
66
+ // https://github.com/vega/ts-json-schema-generator
67
+ "minimum",
68
+ "maximum",
64
69
  ],
65
70
  },
66
71
  ],
@@ -168,7 +173,18 @@ module.exports = {
168
173
  ],
169
174
 
170
175
  // - jsdoc/require-param-type - Not needed in TypeScript.
176
+
171
177
  // - jsdoc/require-param - It's overboard for every function to document every parameter.
178
+ // TODO
179
+ /*
180
+ "jsdoc/require-param": [
181
+ "warn",
182
+ {
183
+ contexts: ["any"],
184
+ },
185
+ ],
186
+ */
187
+
172
188
  // - jsdoc/require-property - Probably not needed in TypeScript.
173
189
 
174
190
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-isaacscript",
3
- "version": "3.0.2",
3
+ "version": "3.1.0",
4
4
  "description": "A sharable ESLint config for TypeScript and IsaacScript projects.",
5
5
  "keywords": [
6
6
  "eslint",