@cto.af/eslint-config 6.2.0 → 6.2.1
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/jsdoc_ts.js +1 -0
- package/package.json +3 -3
- package/rules/jsdoc.js +1 -0
- package/rules/ts.js +1 -0
package/jsdoc_ts.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cto.af/eslint-config",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.1",
|
|
4
4
|
"description": "hildjj's lint rules",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@eslint/json": "0.14.0",
|
|
18
|
-
"@stylistic/eslint-plugin": "5.
|
|
18
|
+
"@stylistic/eslint-plugin": "5.6.1",
|
|
19
19
|
"eslint-plugin-n": "17.23.1",
|
|
20
20
|
"eslint-plugin-redos": "4.4.5",
|
|
21
21
|
"globals": "16.5.0"
|
|
22
22
|
},
|
|
23
|
-
"packageManager": "pnpm@10.
|
|
23
|
+
"packageManager": "pnpm@10.24.0",
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=20"
|
|
26
26
|
}
|
package/rules/jsdoc.js
CHANGED
|
@@ -60,6 +60,7 @@ export const rules = {
|
|
|
60
60
|
'jsdoc/require-property-description': 'error',
|
|
61
61
|
'jsdoc/require-property-name': 'error',
|
|
62
62
|
'jsdoc/require-property-type': 'error',
|
|
63
|
+
'jsdoc/require-rejects': 'off', // Sounds like a pain.
|
|
63
64
|
'jsdoc/require-returns': ['error', {
|
|
64
65
|
exemptedBy: ['ignore'],
|
|
65
66
|
}],
|
package/rules/ts.js
CHANGED
|
@@ -266,6 +266,7 @@ export const rules = {
|
|
|
266
266
|
'@typescript-eslint/no-unsafe-type-assertion': 'off', // Used all the time
|
|
267
267
|
'@typescript-eslint/no-unsafe-unary-minus': 'error',
|
|
268
268
|
'@typescript-eslint/no-unused-expressions': 'error',
|
|
269
|
+
'@typescript-eslint/no-unused-private-class-members': 'error',
|
|
269
270
|
'@typescript-eslint/no-unused-vars': [
|
|
270
271
|
'error', {
|
|
271
272
|
args: 'all',
|