@tb-dev/eslint-config 8.0.14 → 8.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/dist/index.js +3 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -297,6 +297,7 @@ async function unicorn(options) {
|
|
|
297
297
|
"unicorn/no-array-method-this-argument": "error",
|
|
298
298
|
"unicorn/no-await-expression-member": "error",
|
|
299
299
|
"unicorn/no-await-in-promise-methods": "error",
|
|
300
|
+
"unicorn/no-immediate-mutation": "error",
|
|
300
301
|
"unicorn/no-invalid-fetch-options": "error",
|
|
301
302
|
"unicorn/no-invalid-remove-event-listener": "error",
|
|
302
303
|
"unicorn/no-magic-array-flat-depth": "error",
|
|
@@ -307,6 +308,7 @@ async function unicorn(options) {
|
|
|
307
308
|
"unicorn/no-unnecessary-array-flat-depth": "error",
|
|
308
309
|
"unicorn/no-unnecessary-array-splice-count": "error",
|
|
309
310
|
"unicorn/no-unnecessary-slice-end": "error",
|
|
311
|
+
"unicorn/no-useless-collection-argument": "error",
|
|
310
312
|
"unicorn/no-useless-fallback-in-spread": "error",
|
|
311
313
|
"unicorn/no-useless-length-check": "error",
|
|
312
314
|
"unicorn/no-useless-promise-resolve-reject": "error",
|
|
@@ -329,6 +331,7 @@ async function unicorn(options) {
|
|
|
329
331
|
"unicorn/prefer-query-selector": "error",
|
|
330
332
|
"unicorn/prefer-reflect-apply": "error",
|
|
331
333
|
"unicorn/prefer-regexp-test": "error",
|
|
334
|
+
"unicorn/prefer-response-static-json": "error",
|
|
332
335
|
"unicorn/prefer-single-call": "error",
|
|
333
336
|
"unicorn/prefer-string-raw": "error",
|
|
334
337
|
"unicorn/prefer-string-slice": "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.1.0",
|
|
4
4
|
"description": "ESLint config",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@typescript-eslint/eslint-plugin": "^8.46.2",
|
|
25
25
|
"@typescript-eslint/parser": "^8.46.2",
|
|
26
26
|
"eslint-plugin-perfectionist": "^4.15.1",
|
|
27
|
-
"eslint-plugin-unicorn": "^
|
|
27
|
+
"eslint-plugin-unicorn": "^62.0.0",
|
|
28
28
|
"eslint-plugin-vue": "^10.5.1",
|
|
29
29
|
"globals": "^16.4.0",
|
|
30
30
|
"vue-eslint-parser": "^10.2.0"
|