@azat-io/eslint-config 2.26.0 → 2.28.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
CHANGED
|
@@ -549,6 +549,8 @@ let core = (config) => {
|
|
|
549
549
|
"unicorn/no-static-only-class": "error",
|
|
550
550
|
"unicorn/no-this-assignment": "error",
|
|
551
551
|
"unicorn/no-typeof-undefined": "error",
|
|
552
|
+
"unicorn/no-unnecessary-array-flat-depth": "error",
|
|
553
|
+
"unicorn/no-unnecessary-array-splice-count": "error",
|
|
552
554
|
"unicorn/no-unnecessary-await": "error",
|
|
553
555
|
"unicorn/no-unreadable-array-destructuring": "error",
|
|
554
556
|
"unicorn/no-unreadable-iife": "error",
|
|
@@ -588,6 +590,7 @@ let core = (config) => {
|
|
|
588
590
|
"unicorn/prefer-event-target": "error",
|
|
589
591
|
"unicorn/prefer-export-from": "error",
|
|
590
592
|
"unicorn/prefer-global-this": "error",
|
|
593
|
+
"unicorn/prefer-import-meta-properties": "error",
|
|
591
594
|
"unicorn/prefer-includes": "error",
|
|
592
595
|
"unicorn/prefer-keyboard-event-key": "error",
|
|
593
596
|
"unicorn/prefer-logical-operator-over-ternary": "error",
|
|
@@ -25,6 +25,7 @@ let packageJson = (_config) => ({
|
|
|
25
25
|
}
|
|
26
26
|
],
|
|
27
27
|
"package-json/require-author": "error",
|
|
28
|
+
"package-json/require-description": "error",
|
|
28
29
|
"package-json/require-engines": "error",
|
|
29
30
|
"package-json/require-keywords": "error",
|
|
30
31
|
"package-json/require-name": "error",
|
package/dist/typescript/index.js
CHANGED
|
@@ -143,6 +143,7 @@ let typescript = async (config) => {
|
|
|
143
143
|
"typescript/no-unnecessary-type-arguments": "error",
|
|
144
144
|
"typescript/no-unnecessary-type-assertion": "error",
|
|
145
145
|
"typescript/no-unnecessary-type-constraint": "error",
|
|
146
|
+
"typescript/no-unnecessary-type-conversion": "error",
|
|
146
147
|
"typescript/no-unnecessary-type-parameters": "error",
|
|
147
148
|
"typescript/no-unsafe-argument": "error",
|
|
148
149
|
"typescript/no-unsafe-assignment": (
|
package/dist/vue/index.js
CHANGED
|
@@ -51,6 +51,7 @@ let vue = async (config) => {
|
|
|
51
51
|
"vue/custom-event-name-casing": ["error", "kebab-case"],
|
|
52
52
|
"vue/define-emits-declaration": "error",
|
|
53
53
|
"vue/define-props-declaration": "error",
|
|
54
|
+
"vue/define-props-destructuring": ["error", "always"],
|
|
54
55
|
"vue/enforce-style-attribute": [
|
|
55
56
|
"error",
|
|
56
57
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azat-io/eslint-config",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.28.0",
|
|
4
4
|
"description": "ESLint shareable config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
30
|
-
"@vitest/eslint-plugin": "1.1.
|
|
30
|
+
"@vitest/eslint-plugin": "1.1.44",
|
|
31
31
|
"astro-eslint-parser": "^1.2.2",
|
|
32
32
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
33
33
|
"eslint-import-resolver-typescript": "^4.3.4",
|
|
34
34
|
"eslint-plugin-astro": "^1.3.1",
|
|
35
35
|
"eslint-plugin-de-morgan": "^1.2.1",
|
|
36
|
-
"eslint-plugin-import-x": "^4.
|
|
37
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
36
|
+
"eslint-plugin-import-x": "^4.11.0",
|
|
37
|
+
"eslint-plugin-jsdoc": "^50.6.11",
|
|
38
38
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
39
39
|
"eslint-plugin-n": "^17.17.0",
|
|
40
|
-
"eslint-plugin-package-json": "^0.
|
|
41
|
-
"eslint-plugin-perfectionist": "^4.12.
|
|
40
|
+
"eslint-plugin-package-json": "^0.31.0",
|
|
41
|
+
"eslint-plugin-perfectionist": "^4.12.3",
|
|
42
42
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
43
43
|
"eslint-plugin-prefer-let": "^4.0.0",
|
|
44
44
|
"eslint-plugin-promise": "^7.2.1",
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"eslint-plugin-regexp": "^2.7.0",
|
|
51
51
|
"eslint-plugin-sonarjs": "^3.0.2",
|
|
52
52
|
"eslint-plugin-svelte": "^3.5.1",
|
|
53
|
-
"eslint-plugin-unicorn": "^
|
|
54
|
-
"eslint-plugin-vue": "^10.
|
|
53
|
+
"eslint-plugin-unicorn": "^59.0.0",
|
|
54
|
+
"eslint-plugin-vue": "^10.1.0",
|
|
55
55
|
"globals": "^16.0.0",
|
|
56
56
|
"jsonc-eslint-parser": "^2.4.0",
|
|
57
57
|
"svelte-eslint-parser": "^1.1.3",
|
|
58
|
-
"typescript-eslint": "^8.
|
|
58
|
+
"typescript-eslint": "^8.32.0",
|
|
59
59
|
"vue-eslint-parser": "^10.1.3"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|