@alexlit/config-eslint 52.1.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 +4 -0
- package/package.json +10 -10
- package/plugins/vue.js +18 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
# [52.3.0](https://github.com/alex-lit/config-eslint/compare/v52.2.0...v52.3.0) (2022-09-21)
|
|
2
|
+
|
|
3
|
+
# [52.2.0](https://github.com/alex-lit/config-eslint/compare/v52.1.0...v52.2.0) (2022-09-13)
|
|
4
|
+
|
|
1
5
|
# [52.1.0](https://github.com/alex-lit/config-eslint/compare/v52.0.0...v52.1.0) (2022-09-07)
|
|
2
6
|
|
|
3
7
|
# [52.0.0](https://github.com/alex-lit/config-eslint/compare/v51.0.0...v52.0.0) (2022-09-03)
|
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,9 +40,9 @@
|
|
|
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.
|
|
45
|
-
"eslint": "^8.23.
|
|
43
|
+
"@typescript-eslint/eslint-plugin": "^5.38.0",
|
|
44
|
+
"@typescript-eslint/parser": "^5.38.0",
|
|
45
|
+
"eslint": "^8.23.1",
|
|
46
46
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
47
47
|
"eslint-config-prettier": "^8.5.0",
|
|
48
48
|
"eslint-define-config": "^1.7.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"eslint-plugin-ext": "^0.1.0",
|
|
56
56
|
"eslint-plugin-filenames": "^1.3.2",
|
|
57
57
|
"eslint-plugin-import": "^2.26.0",
|
|
58
|
-
"eslint-plugin-jest": "^27.0.
|
|
58
|
+
"eslint-plugin-jest": "^27.0.4",
|
|
59
59
|
"eslint-plugin-jest-dom": "^4.0.2",
|
|
60
60
|
"eslint-plugin-jest-formatting": "^3.1.0",
|
|
61
61
|
"eslint-plugin-jsdoc": "^39.3.6",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"eslint-plugin-prettier": "^4.2.1",
|
|
76
76
|
"eslint-plugin-promise": "^6.0.1",
|
|
77
77
|
"eslint-plugin-quasar": "^1.1.0",
|
|
78
|
-
"eslint-plugin-react": "^7.31.
|
|
78
|
+
"eslint-plugin-react": "^7.31.8",
|
|
79
79
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
80
80
|
"eslint-plugin-regexp": "^1.9.0",
|
|
81
81
|
"eslint-plugin-security": "^1.5.0",
|
|
@@ -87,18 +87,18 @@
|
|
|
87
87
|
"eslint-plugin-spellcheck": "^0.0.19",
|
|
88
88
|
"eslint-plugin-sql": "^2.2.1",
|
|
89
89
|
"eslint-plugin-svelte3": "^4.0.0",
|
|
90
|
-
"eslint-plugin-testing-library": "^5.6.
|
|
90
|
+
"eslint-plugin-testing-library": "^5.6.4",
|
|
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",
|
|
98
98
|
"eslint-plugin-write-good-comments": "^0.1.4",
|
|
99
|
-
"typescript": "^4.8.
|
|
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'],
|