@azat-io/eslint-config 2.56.0 → 2.58.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.js +4 -1
- package/dist/typescript/index.js +2 -0
- package/dist/vitest/index.js +2 -0
- package/dist/vue/index.js +1 -0
- package/package.json +13 -13
|
@@ -45,15 +45,18 @@ function packageJson(_config) {
|
|
|
45
45
|
"package-json/require-version": "error",
|
|
46
46
|
"package-json/scripts-name-casing": "error",
|
|
47
47
|
"package-json/sort-collections": "error",
|
|
48
|
+
"package-json/specify-peers-locally": "error",
|
|
48
49
|
"package-json/unique-dependencies": "error",
|
|
49
50
|
"package-json/valid-author": "error",
|
|
50
51
|
"package-json/valid-bin": "error",
|
|
51
52
|
"package-json/valid-dependencies": "error",
|
|
52
53
|
"package-json/valid-description": "error",
|
|
53
54
|
"package-json/valid-directories": "error",
|
|
55
|
+
"package-json/valid-files": "error",
|
|
56
|
+
"package-json/valid-homepage": "error",
|
|
57
|
+
"package-json/valid-keywords": "error",
|
|
54
58
|
"package-json/valid-license": "error",
|
|
55
59
|
"package-json/valid-name": "error",
|
|
56
|
-
"package-json/valid-package-definition": "error",
|
|
57
60
|
"package-json/valid-scripts": "error",
|
|
58
61
|
"package-json/valid-version": "error"
|
|
59
62
|
}
|
package/dist/typescript/index.js
CHANGED
|
@@ -174,6 +174,7 @@ async function typescript(config) {
|
|
|
174
174
|
allowTernary: true
|
|
175
175
|
}
|
|
176
176
|
],
|
|
177
|
+
"typescript/no-unused-private-class-members": "error",
|
|
177
178
|
"typescript/no-unused-vars": [
|
|
178
179
|
"error",
|
|
179
180
|
{
|
|
@@ -228,6 +229,7 @@ async function typescript(config) {
|
|
|
228
229
|
"no-shadow": "off",
|
|
229
230
|
"no-undef": "off",
|
|
230
231
|
"no-unused-expressions": "off",
|
|
232
|
+
"no-unused-private-class-members": "off",
|
|
231
233
|
"no-unused-vars": "off",
|
|
232
234
|
"no-use-before-define": "off",
|
|
233
235
|
"no-useless-constructor": "off",
|
package/dist/vitest/index.js
CHANGED
|
@@ -35,6 +35,7 @@ async function vitest(config) {
|
|
|
35
35
|
vitest: vitestPlugin
|
|
36
36
|
},
|
|
37
37
|
rules: {
|
|
38
|
+
"vitest/consistent-each-for": "error",
|
|
38
39
|
"vitest/consistent-test-it": ["error", { fn: "it" }],
|
|
39
40
|
"vitest/no-alias-methods": "error",
|
|
40
41
|
"vitest/no-commented-out-tests": "error",
|
|
@@ -68,6 +69,7 @@ async function vitest(config) {
|
|
|
68
69
|
"vitest/prefer-to-contain": "error",
|
|
69
70
|
"vitest/prefer-to-have-length": "error",
|
|
70
71
|
"vitest/prefer-vi-mocked": "error",
|
|
72
|
+
"vitest/require-import-vi-mock": "error",
|
|
71
73
|
"vitest/require-top-level-describe": "error",
|
|
72
74
|
"vitest/valid-describe-callback": "error",
|
|
73
75
|
"vitest/valid-expect": "error",
|
package/dist/vue/index.js
CHANGED
|
@@ -94,6 +94,7 @@ async function vue(config) {
|
|
|
94
94
|
"vue/no-dupe-v-else-if": "error",
|
|
95
95
|
"vue/no-duplicate-attr-inheritance": "error",
|
|
96
96
|
"vue/no-duplicate-attributes": "error",
|
|
97
|
+
"vue/no-duplicate-class-names": "error",
|
|
97
98
|
"vue/no-empty-component-block": "error",
|
|
98
99
|
"vue/no-export-in-script-setup": "error",
|
|
99
100
|
"vue/no-expose-after-await": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azat-io/eslint-config",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.58.0",
|
|
4
4
|
"description": "ESLint shareable config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"javascript",
|
|
12
12
|
"typescript"
|
|
13
13
|
],
|
|
14
|
-
"repository": "azat-io/eslint-config",
|
|
14
|
+
"repository": "github:azat-io/eslint-config",
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"author": "Azat S. <to@azat.io>",
|
|
17
17
|
"type": "module",
|
|
@@ -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.4.
|
|
30
|
+
"@vitest/eslint-plugin": "1.4.4",
|
|
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
34
|
"eslint-plugin-astro": "^1.5.0",
|
|
35
35
|
"eslint-plugin-de-morgan": "^2.0.0",
|
|
36
|
-
"eslint-plugin-depend": "^1.
|
|
36
|
+
"eslint-plugin-depend": "^1.4.0",
|
|
37
37
|
"eslint-plugin-import-x": "^4.16.1",
|
|
38
|
-
"eslint-plugin-jsdoc": "^61.1
|
|
38
|
+
"eslint-plugin-jsdoc": "^61.4.1",
|
|
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.85.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
45
|
"eslint-plugin-qwik": "^1.17.2",
|
|
46
46
|
"eslint-plugin-react-compiler": "19.1.0-rc.2",
|
|
47
|
-
"eslint-plugin-react-dom": "^2.3.
|
|
47
|
+
"eslint-plugin-react-dom": "^2.3.7",
|
|
48
48
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
49
|
-
"eslint-plugin-react-hooks-extra": "^2.3.
|
|
50
|
-
"eslint-plugin-react-naming-convention": "^2.3.
|
|
49
|
+
"eslint-plugin-react-hooks-extra": "^2.3.7",
|
|
50
|
+
"eslint-plugin-react-naming-convention": "^2.3.7",
|
|
51
51
|
"eslint-plugin-react-perf": "^3.3.3",
|
|
52
|
-
"eslint-plugin-react-web-api": "^2.3.
|
|
53
|
-
"eslint-plugin-react-x": "^2.3.
|
|
52
|
+
"eslint-plugin-react-web-api": "^2.3.7",
|
|
53
|
+
"eslint-plugin-react-x": "^2.3.7",
|
|
54
54
|
"eslint-plugin-regexp": "^2.10.0",
|
|
55
55
|
"eslint-plugin-sonarjs": "^3.0.5",
|
|
56
56
|
"eslint-plugin-svelte": "^3.13.0",
|
|
57
57
|
"eslint-plugin-unicorn": "^62.0.0",
|
|
58
|
-
"eslint-plugin-vue": "^10.
|
|
58
|
+
"eslint-plugin-vue": "^10.6.0",
|
|
59
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.
|
|
62
|
+
"typescript-eslint": "^8.48.0",
|
|
63
63
|
"vue-eslint-parser": "^10.2.0"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|