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.
- package/base.js +6 -0
- package/jsdoc.js +16 -0
- 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
|
/**
|