@tb-dev/eslint-config 8.0.8 → 8.0.11
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/dist/index.js +3 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -311,6 +311,8 @@ async function unicorn(options) {
|
|
|
311
311
|
"unicorn/no-useless-length-check": "error",
|
|
312
312
|
"unicorn/no-useless-promise-resolve-reject": "error",
|
|
313
313
|
"unicorn/prefer-at": "error",
|
|
314
|
+
"unicorn/prefer-bigint-literals": "error",
|
|
315
|
+
"unicorn/prefer-classlist-toggle": "error",
|
|
314
316
|
"unicorn/prefer-date-now": "error",
|
|
315
317
|
"unicorn/prefer-dom-node-append": "error",
|
|
316
318
|
"unicorn/prefer-dom-node-dataset": "error",
|
|
@@ -393,7 +395,7 @@ function javascript(options) {
|
|
|
393
395
|
"no-dupe-else-if": "error",
|
|
394
396
|
"no-duplicate-case": "error",
|
|
395
397
|
"no-duplicate-imports": ["error", { includeExports: false }],
|
|
396
|
-
"no-else-return": "
|
|
398
|
+
"no-else-return": "off",
|
|
397
399
|
"no-empty": ["error", { allowEmptyCatch: true }],
|
|
398
400
|
"no-empty-character-class": "error",
|
|
399
401
|
"no-empty-pattern": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tb-dev/eslint-config",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.11",
|
|
4
4
|
"description": "ESLint config",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
"@typescript-eslint/eslint-plugin": "^8.42.0",
|
|
25
25
|
"@typescript-eslint/parser": "^8.42.0",
|
|
26
26
|
"eslint-plugin-perfectionist": "^4.15.0",
|
|
27
|
-
"eslint-plugin-unicorn": "^
|
|
27
|
+
"eslint-plugin-unicorn": "^61.0.1",
|
|
28
28
|
"eslint-plugin-vue": "^10.4.0",
|
|
29
29
|
"globals": "^16.3.0",
|
|
30
30
|
"vue-eslint-parser": "^10.2.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/node": "^24.3.1",
|
|
34
|
-
"eslint": "^9.
|
|
34
|
+
"eslint": "^9.35.0",
|
|
35
35
|
"tslib": "^2.8.1",
|
|
36
36
|
"typescript": "^5.9.2",
|
|
37
37
|
"vite": "^7.1.4",
|