@cto.af/eslint-config 6.2.1 → 6.2.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.
- package/package.json +4 -4
- package/rules/js.js +1 -1
- package/rules/ts.js +2 -0
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.2",
|
|
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.7.0",
|
|
19
19
|
"eslint-plugin-n": "17.23.1",
|
|
20
20
|
"eslint-plugin-redos": "4.4.5",
|
|
21
|
-
"globals": "
|
|
21
|
+
"globals": "17.0.0"
|
|
22
22
|
},
|
|
23
|
-
"packageManager": "pnpm@10.
|
|
23
|
+
"packageManager": "pnpm@10.28.0",
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=20"
|
|
26
26
|
}
|
package/rules/js.js
CHANGED
|
@@ -269,7 +269,7 @@ export const rules = {
|
|
|
269
269
|
// '@stylistic/jsx-props-no-multi-spaces': 'off', // Deprecated
|
|
270
270
|
'@stylistic/jsx-quotes': 'off', // Not needed
|
|
271
271
|
'@stylistic/jsx-self-closing-comp': 'off', // Not needed
|
|
272
|
-
'@stylistic/jsx-sort-props': 'off', //
|
|
272
|
+
// '@stylistic/jsx-sort-props': 'off', // Deprecated
|
|
273
273
|
'@stylistic/jsx-tag-spacing': 'off', // Not needed
|
|
274
274
|
'@stylistic/jsx-wrap-multilines': 'off', // Not needed
|
|
275
275
|
|
package/rules/ts.js
CHANGED
|
@@ -279,6 +279,7 @@ export const rules = {
|
|
|
279
279
|
],
|
|
280
280
|
'@typescript-eslint/no-use-before-define': 'error',
|
|
281
281
|
'@typescript-eslint/no-useless-constructor': 'error',
|
|
282
|
+
'@typescript-eslint/no-useless-default-assignment': 'error',
|
|
282
283
|
'@typescript-eslint/no-useless-empty-export': 'error',
|
|
283
284
|
'@typescript-eslint/no-wrapper-object-types': 'error', // Turn off in cbor projects
|
|
284
285
|
'@typescript-eslint/non-nullable-type-assertion-style': 'off', // Can't config
|
|
@@ -310,6 +311,7 @@ export const rules = {
|
|
|
310
311
|
'@typescript-eslint/restrict-template-expressions': 'off', // Can't config
|
|
311
312
|
'@typescript-eslint/return-await': 'error',
|
|
312
313
|
'@typescript-eslint/strict-boolean-expressions': 'off', // Can't config
|
|
314
|
+
'@typescript-eslint/strict-void-return': 'error',
|
|
313
315
|
'@typescript-eslint/switch-exhaustiveness-check': 'off', // Can't config
|
|
314
316
|
'@typescript-eslint/triple-slash-reference': 'error',
|
|
315
317
|
// Deprecated
|