@alexlit/config-eslint 63.0.0 → 64.0.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/.eslintrc.js +4 -14
- package/README.md +1 -11
- package/package.json +14 -21
- package/plugins/vue.js +3 -1
package/.eslintrc.js
CHANGED
|
@@ -36,9 +36,7 @@ module.exports = defineConfig({
|
|
|
36
36
|
'./plugins/no-loops',
|
|
37
37
|
'./plugins/no-secrets',
|
|
38
38
|
'./plugins/no-use-extend-native',
|
|
39
|
-
'./plugins/nuxt',
|
|
40
39
|
'./plugins/promise',
|
|
41
|
-
'./plugins/quasar',
|
|
42
40
|
'./plugins/regexp',
|
|
43
41
|
'./plugins/security',
|
|
44
42
|
'./plugins/simple-import-sort',
|
|
@@ -49,8 +47,8 @@ module.exports = defineConfig({
|
|
|
49
47
|
'./plugins/spellcheck',
|
|
50
48
|
'./plugins/sql',
|
|
51
49
|
'./plugins/testing-library',
|
|
52
|
-
'./plugins/typescript/index',
|
|
53
50
|
'./plugins/typescript-sort-keys',
|
|
51
|
+
'./plugins/typescript/index',
|
|
54
52
|
'./plugins/unicorn',
|
|
55
53
|
'./plugins/unused-imports',
|
|
56
54
|
'./plugins/vue',
|
|
@@ -58,20 +56,12 @@ module.exports = defineConfig({
|
|
|
58
56
|
'./plugins/vuejs-accessibility',
|
|
59
57
|
'./plugins/wc',
|
|
60
58
|
'./plugins/write-good-comments',
|
|
61
|
-
|
|
59
|
+
|
|
60
|
+
/* optional */
|
|
61
|
+
'./plugins/optional/node',
|
|
62
62
|
|
|
63
63
|
/* prettier */
|
|
64
64
|
'./plugins/prettier',
|
|
65
|
-
|
|
66
|
-
/* optional */
|
|
67
|
-
// './plugins/optional/jest',
|
|
68
|
-
// './plugins/optional/jest-dom',
|
|
69
|
-
// './plugins/optional/jest-formatting',
|
|
70
|
-
// './plugins/optional/node',
|
|
71
|
-
// './plugins/optional/react',
|
|
72
|
-
// './plugins/optional/react-hooks',
|
|
73
|
-
// './plugins/optional/svelte',
|
|
74
|
-
// './plugins/optional/vuetify',
|
|
75
65
|
].map((config) => require.resolve(config)),
|
|
76
66
|
],
|
|
77
67
|
|
package/README.md
CHANGED
|
@@ -11,17 +11,7 @@ npm i @alexlit/config-eslint -D
|
|
|
11
11
|
```js
|
|
12
12
|
// .eslintrc.js
|
|
13
13
|
module.exports = {
|
|
14
|
-
extends: [
|
|
15
|
-
'./node_modules/@alexlit/config-eslint',
|
|
16
|
-
|
|
17
|
-
/* optional */
|
|
18
|
-
// './node_modules/@alexlit/config-eslint/plugins/optional/jest',
|
|
19
|
-
// './node_modules/@alexlit/config-eslint/plugins/optional/jest-formatting',
|
|
20
|
-
// './node_modules/@alexlit/config-eslint/plugins/optional/react',
|
|
21
|
-
// './node_modules/@alexlit/config-eslint/plugins/optional/react-hooks',
|
|
22
|
-
// './node_modules/@alexlit/config-eslint/plugins/optional/svelte',
|
|
23
|
-
// './node_modules/@alexlit/config-eslint/plugins/optional/vuetify',
|
|
24
|
-
],
|
|
14
|
+
extends: ['./node_modules/@alexlit/config-eslint'],
|
|
25
15
|
};
|
|
26
16
|
```
|
|
27
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-eslint",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "64.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "eslint config",
|
|
6
6
|
"keywords": [
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@intlify/eslint-plugin-vue-i18n": "^2.0.0",
|
|
43
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
44
|
-
"@typescript-eslint/parser": "^6.
|
|
45
|
-
"eslint": "^8.
|
|
43
|
+
"@typescript-eslint/eslint-plugin": "^6.4.0",
|
|
44
|
+
"@typescript-eslint/parser": "^6.4.0",
|
|
45
|
+
"eslint": "^8.47.0",
|
|
46
46
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
47
|
-
"eslint-config-prettier": "^
|
|
48
|
-
"eslint-define-config": "^1.
|
|
47
|
+
"eslint-config-prettier": "^9.0.0",
|
|
48
|
+
"eslint-define-config": "^1.23.0",
|
|
49
49
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
50
50
|
"eslint-plugin-array-func": "^3.1.8",
|
|
51
51
|
"eslint-plugin-compat": "^4.1.4",
|
|
@@ -55,28 +55,20 @@
|
|
|
55
55
|
"eslint-plugin-ext": "^0.1.0",
|
|
56
56
|
"eslint-plugin-filenames": "^1.3.2",
|
|
57
57
|
"eslint-plugin-import": "^2.28.0",
|
|
58
|
-
"eslint-plugin-jest": "^27.2.3",
|
|
59
|
-
"eslint-plugin-jest-dom": "^5.0.1",
|
|
60
|
-
"eslint-plugin-jest-formatting": "^3.1.0",
|
|
61
58
|
"eslint-plugin-jsdoc": "^46.4.6",
|
|
62
59
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
63
|
-
"eslint-plugin-lit": "^1.
|
|
60
|
+
"eslint-plugin-lit": "^1.9.1",
|
|
64
61
|
"eslint-plugin-lit-a11y": "^4.1.0",
|
|
65
62
|
"eslint-plugin-more": "^1.0.5",
|
|
66
63
|
"eslint-plugin-no-await-in-promise": "^1.1.5",
|
|
67
64
|
"eslint-plugin-no-constructor-bind": "^2.0.4",
|
|
68
65
|
"eslint-plugin-no-explicit-type-exports": "^0.12.1",
|
|
69
|
-
"eslint-plugin-no-inferred-method-name": "^2.0.0",
|
|
70
66
|
"eslint-plugin-no-loops": "^0.3.0",
|
|
71
67
|
"eslint-plugin-no-secrets": "^0.8.9",
|
|
72
68
|
"eslint-plugin-no-use-extend-native": "^0.5.0",
|
|
73
69
|
"eslint-plugin-node": "^11.1.0",
|
|
74
|
-
"eslint-plugin-nuxt": "^4.0.0",
|
|
75
70
|
"eslint-plugin-prettier": "^5.0.0",
|
|
76
71
|
"eslint-plugin-promise": "^6.1.1",
|
|
77
|
-
"eslint-plugin-quasar": "^1.1.0",
|
|
78
|
-
"eslint-plugin-react": "^7.33.1",
|
|
79
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
80
72
|
"eslint-plugin-regexp": "^1.15.0",
|
|
81
73
|
"eslint-plugin-security": "^1.7.1",
|
|
82
74
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
@@ -86,20 +78,21 @@
|
|
|
86
78
|
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
87
79
|
"eslint-plugin-spellcheck": "^0.0.20",
|
|
88
80
|
"eslint-plugin-sql": "^2.4.4",
|
|
89
|
-
"eslint-plugin-
|
|
90
|
-
"eslint-plugin-testing-library": "^5.11.0",
|
|
81
|
+
"eslint-plugin-testing-library": "^6.0.0",
|
|
91
82
|
"eslint-plugin-typescript-sort-keys": "^2.3.0",
|
|
92
83
|
"eslint-plugin-unicorn": "^48.0.1",
|
|
93
84
|
"eslint-plugin-unused-imports": "^3.0.0",
|
|
94
|
-
"eslint-plugin-vue": "^9.
|
|
95
|
-
"eslint-plugin-vuejs-accessibility": "^2.
|
|
96
|
-
"eslint-plugin-vuetify": "^2.0.5",
|
|
85
|
+
"eslint-plugin-vue": "^9.17.0",
|
|
86
|
+
"eslint-plugin-vuejs-accessibility": "^2.2.0",
|
|
97
87
|
"eslint-plugin-wc": "^1.5.0",
|
|
98
88
|
"eslint-plugin-write-good-comments": "^0.2.0",
|
|
99
89
|
"typescript": "^5.1.6"
|
|
100
90
|
},
|
|
101
91
|
"devDependencies": {
|
|
102
92
|
"@alexlit/lint-kit": "^98.0.2",
|
|
103
|
-
"prettier": "^3.0.
|
|
93
|
+
"prettier": "^3.0.2"
|
|
94
|
+
},
|
|
95
|
+
"engines": {
|
|
96
|
+
"node": ">=16"
|
|
104
97
|
}
|
|
105
98
|
}
|
package/plugins/vue.js
CHANGED
|
@@ -149,7 +149,7 @@ module.exports = {
|
|
|
149
149
|
|
|
150
150
|
'vue/no-potential-component-option-typo': ['error'],
|
|
151
151
|
|
|
152
|
-
'vue/no-ref-object-
|
|
152
|
+
'vue/no-ref-object-reactivity-loss': ['error'],
|
|
153
153
|
|
|
154
154
|
'vue/no-required-prop-with-default': [
|
|
155
155
|
'error',
|
|
@@ -174,6 +174,8 @@ module.exports = {
|
|
|
174
174
|
|
|
175
175
|
'vue/no-root-v-if': ['error'],
|
|
176
176
|
|
|
177
|
+
'vue/no-setup-props-reactivity-loss': ['error'],
|
|
178
|
+
|
|
177
179
|
'vue/no-this-in-before-route-enter': ['error'],
|
|
178
180
|
|
|
179
181
|
'vue/no-unsupported-features': ['error'],
|