@azat-io/eslint-config 2.11.1 → 2.13.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/package-json/index.cjs +2 -0
- package/dist/package-json/index.mjs +2 -0
- package/dist/svelte/index.cjs +0 -1
- package/dist/svelte/index.mjs +0 -1
- package/dist/typescript/index.cjs +1 -0
- package/dist/typescript/index.mjs +1 -0
- package/dist/vue/index.cjs +0 -1
- package/dist/vue/index.mjs +0 -1
- package/package.json +6 -6
|
@@ -12,6 +12,7 @@ let packageJson = (_config) => ({
|
|
|
12
12
|
parser: jsoncParser
|
|
13
13
|
},
|
|
14
14
|
rules: {
|
|
15
|
+
"package-json/no-empty-fields": "error",
|
|
15
16
|
"package-json/no-redundant-files": "error",
|
|
16
17
|
"package-json/order-properties": [
|
|
17
18
|
"error",
|
|
@@ -25,6 +26,7 @@ let packageJson = (_config) => ({
|
|
|
25
26
|
form: "shorthand"
|
|
26
27
|
}
|
|
27
28
|
],
|
|
29
|
+
"package-json/require-author": "error",
|
|
28
30
|
"package-json/sort-collections": "error",
|
|
29
31
|
"package-json/unique-dependencies": "error",
|
|
30
32
|
"package-json/valid-local-dependency": "error",
|
|
@@ -10,6 +10,7 @@ let packageJson = (_config) => ({
|
|
|
10
10
|
parser: jsoncParser
|
|
11
11
|
},
|
|
12
12
|
rules: {
|
|
13
|
+
"package-json/no-empty-fields": "error",
|
|
13
14
|
"package-json/no-redundant-files": "error",
|
|
14
15
|
"package-json/order-properties": [
|
|
15
16
|
"error",
|
|
@@ -23,6 +24,7 @@ let packageJson = (_config) => ({
|
|
|
23
24
|
form: "shorthand"
|
|
24
25
|
}
|
|
25
26
|
],
|
|
27
|
+
"package-json/require-author": "error",
|
|
26
28
|
"package-json/sort-collections": "error",
|
|
27
29
|
"package-json/unique-dependencies": "error",
|
|
28
30
|
"package-json/valid-local-dependency": "error",
|
package/dist/svelte/index.cjs
CHANGED
|
@@ -67,7 +67,6 @@ let svelte = async (config) => {
|
|
|
67
67
|
"svelte/button-has-type": "error",
|
|
68
68
|
"svelte/comment-directive": "error",
|
|
69
69
|
"svelte/derived-has-same-inputs-outputs": "error",
|
|
70
|
-
"svelte/html-self-closing": "error",
|
|
71
70
|
"svelte/infinite-reactive-loop": "error",
|
|
72
71
|
"svelte/no-at-debug-tags": "error",
|
|
73
72
|
"svelte/no-at-html-tags": "error",
|
package/dist/svelte/index.mjs
CHANGED
|
@@ -47,7 +47,6 @@ let svelte = async (config) => {
|
|
|
47
47
|
"svelte/button-has-type": "error",
|
|
48
48
|
"svelte/comment-directive": "error",
|
|
49
49
|
"svelte/derived-has-same-inputs-outputs": "error",
|
|
50
|
-
"svelte/html-self-closing": "error",
|
|
51
50
|
"svelte/infinite-reactive-loop": "error",
|
|
52
51
|
"svelte/no-at-debug-tags": "error",
|
|
53
52
|
"svelte/no-at-html-tags": "error",
|
|
@@ -210,6 +210,7 @@ let typescript = async (config) => {
|
|
|
210
210
|
"typescript/prefer-for-of": "error",
|
|
211
211
|
"typescript/prefer-function-type": "error",
|
|
212
212
|
"typescript/prefer-literal-enum-member": "error",
|
|
213
|
+
"typescript/prefer-namespace-keyword": "error",
|
|
213
214
|
"typescript/prefer-nullish-coalescing": "error",
|
|
214
215
|
"typescript/prefer-optional-chain": "error",
|
|
215
216
|
"typescript/prefer-promise-reject-errors": "error",
|
|
@@ -190,6 +190,7 @@ let typescript = async (config) => {
|
|
|
190
190
|
"typescript/prefer-for-of": "error",
|
|
191
191
|
"typescript/prefer-function-type": "error",
|
|
192
192
|
"typescript/prefer-literal-enum-member": "error",
|
|
193
|
+
"typescript/prefer-namespace-keyword": "error",
|
|
193
194
|
"typescript/prefer-nullish-coalescing": "error",
|
|
194
195
|
"typescript/prefer-optional-chain": "error",
|
|
195
196
|
"typescript/prefer-promise-reject-errors": "error",
|
package/dist/vue/index.cjs
CHANGED
|
@@ -79,7 +79,6 @@ let vue = async (config) => {
|
|
|
79
79
|
],
|
|
80
80
|
"vue/html-button-has-type": "error",
|
|
81
81
|
"vue/html-end-tags": "error",
|
|
82
|
-
"vue/html-self-closing": "error",
|
|
83
82
|
"vue/jsx-uses-vars": "error",
|
|
84
83
|
"vue/no-async-in-computed-properties": "error",
|
|
85
84
|
"vue/no-child-content": "error",
|
package/dist/vue/index.mjs
CHANGED
|
@@ -59,7 +59,6 @@ let vue = async (config) => {
|
|
|
59
59
|
],
|
|
60
60
|
"vue/html-button-has-type": "error",
|
|
61
61
|
"vue/html-end-tags": "error",
|
|
62
|
-
"vue/html-self-closing": "error",
|
|
63
62
|
"vue/jsx-uses-vars": "error",
|
|
64
63
|
"vue/no-async-in-computed-properties": "error",
|
|
65
64
|
"vue/no-child-content": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azat-io/eslint-config",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.0",
|
|
4
4
|
"description": "ESLint shareable config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
31
31
|
"@vitest/eslint-plugin": "^1.1.25",
|
|
32
|
-
"astro-eslint-parser": "^1.1
|
|
32
|
+
"astro-eslint-parser": "^1.2.1",
|
|
33
33
|
"eslint-import-resolver-typescript": "^3.7.0",
|
|
34
34
|
"eslint-plugin-astro": "^1.3.1",
|
|
35
35
|
"eslint-plugin-import-x": "^4.6.1",
|
|
36
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
36
|
+
"eslint-plugin-jsdoc": "^50.6.3",
|
|
37
37
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
38
38
|
"eslint-plugin-n": "^17.15.1",
|
|
39
|
-
"eslint-plugin-package-json": "^0.
|
|
40
|
-
"eslint-plugin-perfectionist": "^4.
|
|
39
|
+
"eslint-plugin-package-json": "^0.22.0",
|
|
40
|
+
"eslint-plugin-perfectionist": "^4.7.0",
|
|
41
41
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
42
42
|
"eslint-plugin-prefer-let": "^4.0.0",
|
|
43
43
|
"eslint-plugin-promise": "^7.2.1",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"globals": "^15.14.0",
|
|
55
55
|
"jsonc-eslint-parser": "^2.4.0",
|
|
56
56
|
"svelte-eslint-parser": "^0.43.0",
|
|
57
|
-
"typescript-eslint": "^8.
|
|
57
|
+
"typescript-eslint": "^8.23.0",
|
|
58
58
|
"vue-eslint-parser": "^9.4.3"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|