@azat-io/eslint-config 2.53.0 → 2.55.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 +2 -0
- package/dist/package-json/index.js +7 -0
- package/package.json +16 -16
package/dist/core/index.js
CHANGED
|
@@ -553,6 +553,7 @@ function core(config) {
|
|
|
553
553
|
"unicorn/no-await-in-promise-methods": "error",
|
|
554
554
|
"unicorn/no-for-loop": "error",
|
|
555
555
|
"unicorn/no-hex-escape": "error",
|
|
556
|
+
"unicorn/no-immediate-mutation": "error",
|
|
556
557
|
"unicorn/no-instanceof-builtins": "error",
|
|
557
558
|
"unicorn/no-invalid-fetch-options": "error",
|
|
558
559
|
"unicorn/no-invalid-remove-event-listener": "error",
|
|
@@ -573,6 +574,7 @@ function core(config) {
|
|
|
573
574
|
"unicorn/no-unreadable-array-destructuring": "error",
|
|
574
575
|
"unicorn/no-unreadable-iife": "error",
|
|
575
576
|
"unicorn/no-unused-properties": "error",
|
|
577
|
+
"unicorn/no-useless-collection-argument": "error",
|
|
576
578
|
"unicorn/no-useless-fallback-in-spread": "error",
|
|
577
579
|
"unicorn/no-useless-length-check": "error",
|
|
578
580
|
"unicorn/no-useless-promise-resolve-reject": "error",
|
|
@@ -14,6 +14,12 @@ function packageJson(_config) {
|
|
|
14
14
|
},
|
|
15
15
|
rules: {
|
|
16
16
|
"depend/ban-dependencies": "error",
|
|
17
|
+
"package-json/exports-subpaths-style": [
|
|
18
|
+
"error",
|
|
19
|
+
{
|
|
20
|
+
prefer: "explicit"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
17
23
|
"package-json/no-empty-fields": "error",
|
|
18
24
|
"package-json/no-redundant-files": "error",
|
|
19
25
|
"package-json/order-properties": [
|
|
@@ -35,6 +41,7 @@ function packageJson(_config) {
|
|
|
35
41
|
"package-json/require-name": "error",
|
|
36
42
|
"package-json/require-type": "error",
|
|
37
43
|
"package-json/require-version": "error",
|
|
44
|
+
"package-json/scripts-name-casing": "error",
|
|
38
45
|
"package-json/sort-collections": "error",
|
|
39
46
|
"package-json/unique-dependencies": "error",
|
|
40
47
|
"package-json/valid-author": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azat-io/eslint-config",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.55.0",
|
|
4
4
|
"description": "ESLint shareable config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -27,39 +27,39 @@
|
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
30
|
-
"@vitest/eslint-plugin": "1.
|
|
30
|
+
"@vitest/eslint-plugin": "1.4.0",
|
|
31
31
|
"astro-eslint-parser": "^1.2.2",
|
|
32
32
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
33
33
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
34
|
-
"eslint-plugin-astro": "^1.
|
|
34
|
+
"eslint-plugin-astro": "^1.4.0",
|
|
35
35
|
"eslint-plugin-de-morgan": "^2.0.0",
|
|
36
36
|
"eslint-plugin-depend": "^1.3.1",
|
|
37
37
|
"eslint-plugin-import-x": "^4.16.1",
|
|
38
|
-
"eslint-plugin-jsdoc": "^61.1.
|
|
38
|
+
"eslint-plugin-jsdoc": "^61.1.12",
|
|
39
39
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
40
40
|
"eslint-plugin-n": "^17.23.1",
|
|
41
|
-
"eslint-plugin-package-json": "^0.
|
|
41
|
+
"eslint-plugin-package-json": "^0.63.0",
|
|
42
42
|
"eslint-plugin-perfectionist": "^4.15.1",
|
|
43
43
|
"eslint-plugin-prefer-let": "^4.0.0",
|
|
44
44
|
"eslint-plugin-promise": "^7.2.1",
|
|
45
|
-
"eslint-plugin-qwik": "^1.17.
|
|
45
|
+
"eslint-plugin-qwik": "^1.17.2",
|
|
46
46
|
"eslint-plugin-react-compiler": "^19.1.0-rc.2",
|
|
47
|
-
"eslint-plugin-react-dom": "^2.
|
|
48
|
-
"eslint-plugin-react-hooks": "^7.0.
|
|
49
|
-
"eslint-plugin-react-hooks-extra": "^2.
|
|
50
|
-
"eslint-plugin-react-naming-convention": "^2.
|
|
47
|
+
"eslint-plugin-react-dom": "^2.3.1",
|
|
48
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
49
|
+
"eslint-plugin-react-hooks-extra": "^2.3.1",
|
|
50
|
+
"eslint-plugin-react-naming-convention": "^2.3.1",
|
|
51
51
|
"eslint-plugin-react-perf": "^3.3.3",
|
|
52
|
-
"eslint-plugin-react-web-api": "^2.
|
|
53
|
-
"eslint-plugin-react-x": "^2.
|
|
52
|
+
"eslint-plugin-react-web-api": "^2.3.1",
|
|
53
|
+
"eslint-plugin-react-x": "^2.3.1",
|
|
54
54
|
"eslint-plugin-regexp": "^2.10.0",
|
|
55
55
|
"eslint-plugin-sonarjs": "^3.0.5",
|
|
56
|
-
"eslint-plugin-svelte": "^3.
|
|
57
|
-
"eslint-plugin-unicorn": "^
|
|
56
|
+
"eslint-plugin-svelte": "^3.13.0",
|
|
57
|
+
"eslint-plugin-unicorn": "^62.0.0",
|
|
58
58
|
"eslint-plugin-vue": "^10.5.1",
|
|
59
|
-
"globals": "^16.
|
|
59
|
+
"globals": "^16.5.0",
|
|
60
60
|
"jsonc-eslint-parser": "^2.4.1",
|
|
61
61
|
"svelte-eslint-parser": "^1.4.0",
|
|
62
|
-
"typescript-eslint": "^8.46.
|
|
62
|
+
"typescript-eslint": "^8.46.3",
|
|
63
63
|
"vue-eslint-parser": "^10.2.0"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|