@azat-io/eslint-config 2.88.0 → 2.90.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/core/index.js +4 -0
- package/dist/svelte/index.js +1 -0
- package/package.json +16 -16
package/dist/core/index.js
CHANGED
|
@@ -447,6 +447,7 @@ function core(config) {
|
|
|
447
447
|
kebabCase: true,
|
|
448
448
|
pascalCase: true
|
|
449
449
|
} }],
|
|
450
|
+
"unicorn/iteration-fallback-style": ["error", "guard"],
|
|
450
451
|
"unicorn/name-replacements": ["error", { allowList: {
|
|
451
452
|
attrs: true,
|
|
452
453
|
env: config.astro,
|
|
@@ -503,6 +504,7 @@ function core(config) {
|
|
|
503
504
|
"unicorn/no-late-event-control": "error",
|
|
504
505
|
"unicorn/no-loop-iterable-mutation": "error",
|
|
505
506
|
"unicorn/no-misrefactored-assignment": "error",
|
|
507
|
+
"unicorn/no-multiple-promise-resolver-calls": "error",
|
|
506
508
|
"unicorn/no-named-default": "error",
|
|
507
509
|
"unicorn/no-negated-array-predicate": "error",
|
|
508
510
|
"unicorn/no-negated-comparison": "error",
|
|
@@ -530,6 +532,7 @@ function core(config) {
|
|
|
530
532
|
"unicorn/no-unnecessary-nested-ternary": "error",
|
|
531
533
|
"unicorn/no-unnecessary-slice-end": "error",
|
|
532
534
|
"unicorn/no-unnecessary-splice": "error",
|
|
535
|
+
"unicorn/no-unnecessary-string-trim": "error",
|
|
533
536
|
"unicorn/no-unreadable-array-destructuring": "error",
|
|
534
537
|
"unicorn/no-unreadable-for-of-expression": "error",
|
|
535
538
|
"unicorn/no-unreadable-iife": "error",
|
|
@@ -552,6 +555,7 @@ function core(config) {
|
|
|
552
555
|
"unicorn/no-useless-length-check": "error",
|
|
553
556
|
"unicorn/no-useless-logical-operand": "error",
|
|
554
557
|
"unicorn/no-useless-promise-resolve-reject": "error",
|
|
558
|
+
"unicorn/no-useless-re-export": "error",
|
|
555
559
|
"unicorn/no-useless-recursion": "error",
|
|
556
560
|
"unicorn/no-useless-spread": "error",
|
|
557
561
|
"unicorn/no-useless-switch-case": "error",
|
package/dist/svelte/index.js
CHANGED
|
@@ -40,6 +40,7 @@ async function svelte(config) {
|
|
|
40
40
|
"svelte/no-at-const-tags": "error",
|
|
41
41
|
"svelte/no-at-debug-tags": "error",
|
|
42
42
|
"svelte/no-at-html-tags": "error",
|
|
43
|
+
"svelte/no-bind-value-on-checkable-inputs": "error",
|
|
43
44
|
"svelte/no-dom-manipulating": "error",
|
|
44
45
|
"svelte/no-dupe-else-if-blocks": "error",
|
|
45
46
|
"svelte/no-dupe-on-directives": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azat-io/eslint-config",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.90.0",
|
|
4
4
|
"description": "ESLint shareable config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -28,38 +28,38 @@
|
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
|
|
31
|
-
"@vitest/eslint-plugin": "1.6.
|
|
31
|
+
"@vitest/eslint-plugin": "1.6.26",
|
|
32
32
|
"astro-eslint-parser": "^3.0.0",
|
|
33
33
|
"eslint-config-flat-gitignore": "^2.3.0",
|
|
34
|
-
"eslint-plugin-astro": "^3.
|
|
34
|
+
"eslint-plugin-astro": "^3.1.0",
|
|
35
35
|
"eslint-plugin-de-morgan": "^2.1.3",
|
|
36
36
|
"eslint-plugin-depend": "^1.5.0",
|
|
37
37
|
"eslint-plugin-import-lite": "^0.6.0",
|
|
38
|
-
"eslint-plugin-jsdoc": "^63.
|
|
38
|
+
"eslint-plugin-jsdoc": "^63.3.3",
|
|
39
39
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
40
40
|
"eslint-plugin-n": "^18.2.2",
|
|
41
|
-
"eslint-plugin-package-json": "^1.6.
|
|
41
|
+
"eslint-plugin-package-json": "^1.6.2",
|
|
42
42
|
"eslint-plugin-perfectionist": "^5.10.0",
|
|
43
43
|
"eslint-plugin-prefer-let": "^4.2.2",
|
|
44
44
|
"eslint-plugin-promise": "^7.3.0",
|
|
45
45
|
"eslint-plugin-qwik": "2.0.0-beta.21",
|
|
46
46
|
"eslint-plugin-react-compiler": "19.1.0-rc.2",
|
|
47
|
-
"eslint-plugin-react-dom": "^5.
|
|
47
|
+
"eslint-plugin-react-dom": "^5.18.1",
|
|
48
48
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
49
|
-
"eslint-plugin-react-jsx": "^5.
|
|
50
|
-
"eslint-plugin-react-naming-convention": "^5.
|
|
49
|
+
"eslint-plugin-react-jsx": "^5.18.1",
|
|
50
|
+
"eslint-plugin-react-naming-convention": "^5.18.1",
|
|
51
51
|
"eslint-plugin-react-perf": "^3.3.3",
|
|
52
|
-
"eslint-plugin-react-web-api": "^5.
|
|
53
|
-
"eslint-plugin-react-x": "^5.
|
|
52
|
+
"eslint-plugin-react-web-api": "^5.18.1",
|
|
53
|
+
"eslint-plugin-react-x": "^5.18.1",
|
|
54
54
|
"eslint-plugin-regexp": "^3.1.1",
|
|
55
|
-
"eslint-plugin-sonarjs": "^4.
|
|
56
|
-
"eslint-plugin-svelte": "^3.
|
|
57
|
-
"eslint-plugin-unicorn": "^
|
|
58
|
-
"eslint-plugin-vue": "^10.
|
|
59
|
-
"globals": "^17.
|
|
55
|
+
"eslint-plugin-sonarjs": "^4.2.0",
|
|
56
|
+
"eslint-plugin-svelte": "^3.22.0",
|
|
57
|
+
"eslint-plugin-unicorn": "^73.0.0",
|
|
58
|
+
"eslint-plugin-vue": "^10.10.0",
|
|
59
|
+
"globals": "^17.9.0",
|
|
60
60
|
"jsonc-eslint-parser": "^3.1.0",
|
|
61
61
|
"svelte-eslint-parser": "^1.8.0",
|
|
62
|
-
"typescript-eslint": "^8.
|
|
62
|
+
"typescript-eslint": "^8.66.0",
|
|
63
63
|
"vue-eslint-parser": "^10.4.1"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|