@azat-io/eslint-config 2.46.0 → 2.48.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 +5 -0
- package/dist/index.js +3 -1
- package/dist/utilities.js +3 -1
- package/package.json +18 -18
package/dist/core/index.js
CHANGED
|
@@ -308,6 +308,7 @@ function core(config) {
|
|
|
308
308
|
"prefer-rest-params": "error",
|
|
309
309
|
"prefer-spread": "error",
|
|
310
310
|
"prefer-template": "error",
|
|
311
|
+
"preserve-caught-error": "error",
|
|
311
312
|
"require-await": "error",
|
|
312
313
|
"require-yield": "error",
|
|
313
314
|
strict: ["error", "never"],
|
|
@@ -541,6 +542,7 @@ function core(config) {
|
|
|
541
542
|
"unicorn/no-array-for-each": "error",
|
|
542
543
|
"unicorn/no-array-method-this-argument": "error",
|
|
543
544
|
"unicorn/no-array-reverse": "error",
|
|
545
|
+
"unicorn/no-array-sort": "error",
|
|
544
546
|
"unicorn/no-await-in-promise-methods": "error",
|
|
545
547
|
"unicorn/no-for-loop": "error",
|
|
546
548
|
"unicorn/no-hex-escape": "error",
|
|
@@ -589,8 +591,10 @@ function core(config) {
|
|
|
589
591
|
"unicorn/prefer-array-index-of": "error",
|
|
590
592
|
"unicorn/prefer-array-some": "error",
|
|
591
593
|
"unicorn/prefer-at": "error",
|
|
594
|
+
"unicorn/prefer-bigint-literals": "error",
|
|
592
595
|
"unicorn/prefer-blob-reading-methods": "error",
|
|
593
596
|
"unicorn/prefer-class-fields": "error",
|
|
597
|
+
"unicorn/prefer-classlist-toggle": "error",
|
|
594
598
|
"unicorn/prefer-date-now": "error",
|
|
595
599
|
"unicorn/prefer-default-parameters": "error",
|
|
596
600
|
"unicorn/prefer-dom-node-append": "error",
|
|
@@ -649,6 +653,7 @@ function core(config) {
|
|
|
649
653
|
}
|
|
650
654
|
],
|
|
651
655
|
"unicorn/require-array-join-separator": "error",
|
|
656
|
+
"unicorn/require-module-attributes": "error",
|
|
652
657
|
"unicorn/require-module-specifiers": "error",
|
|
653
658
|
"unicorn/require-number-to-fixed-digits-argument": "error",
|
|
654
659
|
"unicorn/template-indent": "error",
|
package/dist/index.js
CHANGED
|
@@ -46,7 +46,9 @@ const index = async ({
|
|
|
46
46
|
perfectionist
|
|
47
47
|
];
|
|
48
48
|
let configs = await Promise.all(
|
|
49
|
-
configFunctions.map(
|
|
49
|
+
configFunctions.map(
|
|
50
|
+
(createConfigFunction) => Promise.resolve(createConfigFunction(config))
|
|
51
|
+
)
|
|
50
52
|
);
|
|
51
53
|
return defineConfig([
|
|
52
54
|
gitignore({
|
package/dist/utilities.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azat-io/eslint-config",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.48.0",
|
|
4
4
|
"description": "ESLint shareable config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
30
|
-
"@vitest/eslint-plugin": "1.3.
|
|
30
|
+
"@vitest/eslint-plugin": "1.3.12",
|
|
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",
|
|
@@ -35,35 +35,35 @@
|
|
|
35
35
|
"eslint-plugin-de-morgan": "^1.3.1",
|
|
36
36
|
"eslint-plugin-depend": "^1.2.0",
|
|
37
37
|
"eslint-plugin-import-x": "^4.16.1",
|
|
38
|
-
"eslint-plugin-jsdoc": "^
|
|
38
|
+
"eslint-plugin-jsdoc": "^59.0.1",
|
|
39
39
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
40
|
-
"eslint-plugin-n": "^17.
|
|
41
|
-
"eslint-plugin-package-json": "^0.56.
|
|
40
|
+
"eslint-plugin-n": "^17.23.1",
|
|
41
|
+
"eslint-plugin-package-json": "^0.56.3",
|
|
42
42
|
"eslint-plugin-perfectionist": "^4.15.0",
|
|
43
43
|
"eslint-plugin-prefer-let": "^4.0.0",
|
|
44
44
|
"eslint-plugin-promise": "^7.2.1",
|
|
45
45
|
"eslint-plugin-qwik": "^1.16.0",
|
|
46
|
-
"eslint-plugin-react-compiler": "19.1.0-rc.
|
|
47
|
-
"eslint-plugin-react-dom": "^1.
|
|
48
|
-
"eslint-plugin-react-hooks": "^6.0.0",
|
|
49
|
-
"eslint-plugin-react-hooks-extra": "^1.
|
|
50
|
-
"eslint-plugin-react-naming-convention": "^1.
|
|
46
|
+
"eslint-plugin-react-compiler": "^19.1.0-rc.2",
|
|
47
|
+
"eslint-plugin-react-dom": "^1.53.1",
|
|
48
|
+
"eslint-plugin-react-hooks": "^6.0.0-rc.2",
|
|
49
|
+
"eslint-plugin-react-hooks-extra": "^1.53.1",
|
|
50
|
+
"eslint-plugin-react-naming-convention": "^1.53.1",
|
|
51
51
|
"eslint-plugin-react-perf": "^3.3.3",
|
|
52
|
-
"eslint-plugin-react-web-api": "^1.
|
|
53
|
-
"eslint-plugin-react-x": "^1.
|
|
52
|
+
"eslint-plugin-react-web-api": "^1.53.1",
|
|
53
|
+
"eslint-plugin-react-x": "^1.53.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.12.3",
|
|
57
|
+
"eslint-plugin-unicorn": "^61.0.2",
|
|
58
58
|
"eslint-plugin-vue": "^10.4.0",
|
|
59
|
-
"globals": "^16.
|
|
59
|
+
"globals": "^16.4.0",
|
|
60
60
|
"jsonc-eslint-parser": "^2.4.0",
|
|
61
|
-
"svelte-eslint-parser": "^1.3.
|
|
62
|
-
"typescript-eslint": "^8.
|
|
61
|
+
"svelte-eslint-parser": "^1.3.2",
|
|
62
|
+
"typescript-eslint": "^8.44.0",
|
|
63
63
|
"vue-eslint-parser": "^10.2.0"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
|
-
"eslint": ">=9.
|
|
66
|
+
"eslint": ">=9.35.0"
|
|
67
67
|
},
|
|
68
68
|
"engines": {
|
|
69
69
|
"node": ">=18.0.0"
|