@alexlit/config-eslint 52.2.0 → 52.3.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/CHANGELOG.md +2 -0
- package/package.json +5 -5
- package/plugins/vue.js +18 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# [52.3.0](https://github.com/alex-lit/config-eslint/compare/v52.2.0...v52.3.0) (2022-09-21)
|
|
2
|
+
|
|
1
3
|
# [52.2.0](https://github.com/alex-lit/config-eslint/compare/v52.1.0...v52.2.0) (2022-09-13)
|
|
2
4
|
|
|
3
5
|
# [52.1.0](https://github.com/alex-lit/config-eslint/compare/v52.0.0...v52.1.0) (2022-09-07)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-eslint",
|
|
3
|
-
"version": "52.
|
|
3
|
+
"version": "52.3.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "eslint config",
|
|
6
6
|
"keywords": [
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@intlify/eslint-plugin-vue-i18n": "^2.0.0",
|
|
43
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
44
|
-
"@typescript-eslint/parser": "^5.
|
|
43
|
+
"@typescript-eslint/eslint-plugin": "^5.38.0",
|
|
44
|
+
"@typescript-eslint/parser": "^5.38.0",
|
|
45
45
|
"eslint": "^8.23.1",
|
|
46
46
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
47
47
|
"eslint-config-prettier": "^8.5.0",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"eslint-plugin-typescript-sort-keys": "^2.1.0",
|
|
92
92
|
"eslint-plugin-unicorn": "^43.0.2",
|
|
93
93
|
"eslint-plugin-unused-imports": "^2.0.0",
|
|
94
|
-
"eslint-plugin-vue": "^9.
|
|
94
|
+
"eslint-plugin-vue": "^9.5.1",
|
|
95
95
|
"eslint-plugin-vuejs-accessibility": "^1.2.0",
|
|
96
96
|
"eslint-plugin-vuetify": "^1.1.0",
|
|
97
97
|
"eslint-plugin-wc": "^1.3.2",
|
|
@@ -99,6 +99,6 @@
|
|
|
99
99
|
"typescript": "^4.8.3"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
|
-
"@alexlit/lint-kit": "
|
|
102
|
+
"@alexlit/lint-kit": "^79.2.0"
|
|
103
103
|
}
|
|
104
104
|
}
|
package/plugins/vue.js
CHANGED
|
@@ -24,10 +24,7 @@ module.exports = {
|
|
|
24
24
|
},
|
|
25
25
|
],
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
// 'error',
|
|
29
|
-
// ['script-setup', 'composition', 'composition-vue2', 'options'],
|
|
30
|
-
// ],
|
|
27
|
+
'vue/component-api-style': ['error', ['script-setup']],
|
|
31
28
|
|
|
32
29
|
'vue/component-definition-name-casing': ['error', 'kebab-case'],
|
|
33
30
|
|
|
@@ -49,6 +46,8 @@ module.exports = {
|
|
|
49
46
|
},
|
|
50
47
|
],
|
|
51
48
|
|
|
49
|
+
'vue/define-emits-declaration': ['error'],
|
|
50
|
+
|
|
52
51
|
'vue/define-macros-order': [
|
|
53
52
|
'error',
|
|
54
53
|
{
|
|
@@ -56,6 +55,8 @@ module.exports = {
|
|
|
56
55
|
},
|
|
57
56
|
],
|
|
58
57
|
|
|
58
|
+
'vue/define-props-declaration': ['error'],
|
|
59
|
+
|
|
59
60
|
'vue/eqeqeq': ['error'],
|
|
60
61
|
|
|
61
62
|
'vue/html-button-has-type': ['error'],
|
|
@@ -119,6 +120,8 @@ module.exports = {
|
|
|
119
120
|
|
|
120
121
|
'vue/no-potential-component-option-typo': ['error'],
|
|
121
122
|
|
|
123
|
+
'vue/no-ref-object-destructure': ['error'],
|
|
124
|
+
|
|
122
125
|
'vue/no-reserved-component-names': [
|
|
123
126
|
'error',
|
|
124
127
|
{
|
|
@@ -157,6 +160,17 @@ module.exports = {
|
|
|
157
160
|
|
|
158
161
|
'vue/padding-line-between-blocks': ['error'],
|
|
159
162
|
|
|
163
|
+
'vue/padding-line-between-tags': [
|
|
164
|
+
'error',
|
|
165
|
+
[
|
|
166
|
+
{
|
|
167
|
+
blankLine: 'always',
|
|
168
|
+
next: '*',
|
|
169
|
+
prev: '*',
|
|
170
|
+
},
|
|
171
|
+
],
|
|
172
|
+
],
|
|
173
|
+
|
|
160
174
|
'vue/prefer-prop-type-boolean-first': ['error'],
|
|
161
175
|
|
|
162
176
|
'vue/prefer-separate-static-class': ['error'],
|