@alexlit/config-eslint 75.2.1 → 75.4.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 +4 -4
- package/plugins/vue.js +22 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-eslint",
|
|
3
|
-
"version": "75.
|
|
3
|
+
"version": "75.4.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Eslint config",
|
|
6
6
|
"keywords": [
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@intlify/eslint-plugin-vue-i18n": "^2.0.0",
|
|
37
37
|
"@tanstack/eslint-plugin-query": "^5.17.7",
|
|
38
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
39
|
-
"@typescript-eslint/parser": "^6.
|
|
38
|
+
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
|
39
|
+
"@typescript-eslint/parser": "^6.19.0",
|
|
40
40
|
"eslint": "^8.56.0",
|
|
41
41
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
42
42
|
"eslint-config-prettier": "^9.1.0",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"eslint-plugin-unicorn": "^50.0.1",
|
|
79
79
|
"eslint-plugin-unused-imports": "^3.0.0",
|
|
80
80
|
"eslint-plugin-vitest": "^0.3.20",
|
|
81
|
-
"eslint-plugin-vue": "^9.
|
|
81
|
+
"eslint-plugin-vue": "^9.20.1",
|
|
82
82
|
"eslint-plugin-vuejs-accessibility": "^2.2.0",
|
|
83
83
|
"eslint-plugin-wc": "^2.0.4",
|
|
84
84
|
"eslint-plugin-write-good-comments": "^0.2.0",
|
package/plugins/vue.js
CHANGED
|
@@ -57,13 +57,27 @@ module.exports = {
|
|
|
57
57
|
|
|
58
58
|
'vue/define-macros-order': [
|
|
59
59
|
'error',
|
|
60
|
-
{
|
|
60
|
+
{
|
|
61
|
+
defineExposeLast: true,
|
|
62
|
+
|
|
63
|
+
order: [
|
|
64
|
+
'defineOptions',
|
|
65
|
+
'defineModel',
|
|
66
|
+
'defineProps',
|
|
67
|
+
'defineEmits',
|
|
68
|
+
'defineSlots',
|
|
69
|
+
],
|
|
70
|
+
},
|
|
61
71
|
],
|
|
62
72
|
|
|
63
73
|
'vue/define-props-declaration': ['error'],
|
|
64
74
|
|
|
65
75
|
'vue/dot-notation': ['error'],
|
|
76
|
+
|
|
77
|
+
'vue/enforce-style-attribute': ['error', { allow: ['module'] }],
|
|
78
|
+
|
|
66
79
|
'vue/eqeqeq': ['error'],
|
|
80
|
+
|
|
67
81
|
'vue/html-button-has-type': ['error'],
|
|
68
82
|
|
|
69
83
|
'vue/html-comment-content-newline': ['warn'],
|
|
@@ -159,6 +173,13 @@ module.exports = {
|
|
|
159
173
|
|
|
160
174
|
'vue/no-setup-props-reactivity-loss': ['error'],
|
|
161
175
|
|
|
176
|
+
'vue/no-static-inline-styles': [
|
|
177
|
+
'error',
|
|
178
|
+
{
|
|
179
|
+
allowBinding: true,
|
|
180
|
+
},
|
|
181
|
+
],
|
|
182
|
+
|
|
162
183
|
'vue/no-this-in-before-route-enter': ['error'],
|
|
163
184
|
|
|
164
185
|
'vue/no-unsupported-features': ['error'],
|