@alexlit/config-eslint 62.0.0 → 63.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/package.json +19 -18
- package/plugins/vue.js +10 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-eslint",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "63.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.2.1",
|
|
44
|
+
"@typescript-eslint/parser": "^6.2.1",
|
|
45
|
+
"eslint": "^8.46.0",
|
|
46
46
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
47
|
-
"eslint-config-prettier": "^8.
|
|
48
|
-
"eslint-define-config": "^1.
|
|
47
|
+
"eslint-config-prettier": "^8.10.0",
|
|
48
|
+
"eslint-define-config": "^1.22.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",
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
"eslint-plugin-etc": "^2.0.3",
|
|
55
55
|
"eslint-plugin-ext": "^0.1.0",
|
|
56
56
|
"eslint-plugin-filenames": "^1.3.2",
|
|
57
|
-
"eslint-plugin-import": "^2.
|
|
58
|
-
"eslint-plugin-jest": "^27.2.
|
|
57
|
+
"eslint-plugin-import": "^2.28.0",
|
|
58
|
+
"eslint-plugin-jest": "^27.2.3",
|
|
59
59
|
"eslint-plugin-jest-dom": "^5.0.1",
|
|
60
60
|
"eslint-plugin-jest-formatting": "^3.1.0",
|
|
61
|
-
"eslint-plugin-jsdoc": "^46.4.
|
|
61
|
+
"eslint-plugin-jsdoc": "^46.4.6",
|
|
62
62
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
63
63
|
"eslint-plugin-lit": "^1.8.3",
|
|
64
64
|
"eslint-plugin-lit-a11y": "^4.1.0",
|
|
@@ -72,33 +72,34 @@
|
|
|
72
72
|
"eslint-plugin-no-use-extend-native": "^0.5.0",
|
|
73
73
|
"eslint-plugin-node": "^11.1.0",
|
|
74
74
|
"eslint-plugin-nuxt": "^4.0.0",
|
|
75
|
-
"eslint-plugin-prettier": "^
|
|
75
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
76
76
|
"eslint-plugin-promise": "^6.1.1",
|
|
77
77
|
"eslint-plugin-quasar": "^1.1.0",
|
|
78
|
-
"eslint-plugin-react": "^7.
|
|
78
|
+
"eslint-plugin-react": "^7.33.1",
|
|
79
79
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
80
80
|
"eslint-plugin-regexp": "^1.15.0",
|
|
81
81
|
"eslint-plugin-security": "^1.7.1",
|
|
82
82
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
83
|
-
"eslint-plugin-sonarjs": "^0.
|
|
83
|
+
"eslint-plugin-sonarjs": "^0.20.0",
|
|
84
84
|
"eslint-plugin-sort-class-members": "^1.18.0",
|
|
85
85
|
"eslint-plugin-sort-destructure-keys": "^1.5.0",
|
|
86
86
|
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
87
87
|
"eslint-plugin-spellcheck": "^0.0.20",
|
|
88
|
-
"eslint-plugin-sql": "^2.
|
|
88
|
+
"eslint-plugin-sql": "^2.4.4",
|
|
89
89
|
"eslint-plugin-svelte3": "^4.0.0",
|
|
90
90
|
"eslint-plugin-testing-library": "^5.11.0",
|
|
91
91
|
"eslint-plugin-typescript-sort-keys": "^2.3.0",
|
|
92
|
-
"eslint-plugin-unicorn": "^
|
|
93
|
-
"eslint-plugin-unused-imports": "^
|
|
94
|
-
"eslint-plugin-vue": "^9.
|
|
92
|
+
"eslint-plugin-unicorn": "^48.0.1",
|
|
93
|
+
"eslint-plugin-unused-imports": "^3.0.0",
|
|
94
|
+
"eslint-plugin-vue": "^9.16.1",
|
|
95
95
|
"eslint-plugin-vuejs-accessibility": "^2.1.0",
|
|
96
|
-
"eslint-plugin-vuetify": "^2.0.
|
|
96
|
+
"eslint-plugin-vuetify": "^2.0.5",
|
|
97
97
|
"eslint-plugin-wc": "^1.5.0",
|
|
98
98
|
"eslint-plugin-write-good-comments": "^0.2.0",
|
|
99
99
|
"typescript": "^5.1.6"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
|
-
"@alexlit/lint-kit": "^
|
|
102
|
+
"@alexlit/lint-kit": "^98.0.2",
|
|
103
|
+
"prettier": "^3.0.1"
|
|
103
104
|
}
|
|
104
105
|
}
|
package/plugins/vue.js
CHANGED
|
@@ -57,7 +57,10 @@ module.exports = {
|
|
|
57
57
|
|
|
58
58
|
'vue/define-emits-declaration': ['error'],
|
|
59
59
|
|
|
60
|
-
'vue/define-macros-order': [
|
|
60
|
+
'vue/define-macros-order': [
|
|
61
|
+
'error',
|
|
62
|
+
{ order: ['defineOptions', 'defineProps', 'defineEmits', 'defineSlots'] },
|
|
63
|
+
],
|
|
61
64
|
|
|
62
65
|
'vue/define-props-declaration': ['error'],
|
|
63
66
|
|
|
@@ -120,6 +123,8 @@ module.exports = {
|
|
|
120
123
|
|
|
121
124
|
'vue/no-custom-modifiers-on-v-model': 'off',
|
|
122
125
|
|
|
126
|
+
'vue/no-deprecated-model-definition': ['error'],
|
|
127
|
+
|
|
123
128
|
'vue/no-deprecated-scope-attribute': ['error'],
|
|
124
129
|
|
|
125
130
|
'vue/no-deprecated-slot-attribute': ['error'],
|
|
@@ -179,6 +184,8 @@ module.exports = {
|
|
|
179
184
|
|
|
180
185
|
'vue/no-use-computed-property-like-method': ['error'],
|
|
181
186
|
|
|
187
|
+
'vue/no-use-v-else-with-v-for': ['warn'],
|
|
188
|
+
|
|
182
189
|
'vue/no-useless-mustaches': ['error'],
|
|
183
190
|
|
|
184
191
|
'vue/no-useless-template-attributes': ['error'],
|
|
@@ -238,6 +245,8 @@ module.exports = {
|
|
|
238
245
|
},
|
|
239
246
|
],
|
|
240
247
|
|
|
248
|
+
'vue/require-typed-object-prop': ['error'],
|
|
249
|
+
|
|
241
250
|
'vue/require-typed-ref': ['error'],
|
|
242
251
|
|
|
243
252
|
'vue/sort-keys': [
|