@alexlit/config-eslint 21.1.0 → 21.2.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 +4 -4
- package/plugins/spellcheck.js +3 -0
- package/plugins/vue.js +31 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# [21.2.0](https://github.com/alex-lit/config-eslint/compare/v21.1.0...v21.2.0) (2021-10-05)
|
|
2
|
+
|
|
1
3
|
# [21.1.0](https://github.com/alex-lit/config-eslint/compare/v21.0.1...v21.1.0) (2021-10-04)
|
|
2
4
|
|
|
3
5
|
## [21.0.1](https://github.com/alex-lit/config-eslint/compare/v21.0.0...v21.0.1) (2021-09-30)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-eslint",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "eslint config",
|
|
6
6
|
"keywords": [
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"version": "./node_modules/@alexlit/lint-kit/scripts/version.sh"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@typescript-eslint/eslint-plugin": "^4.
|
|
43
|
-
"@typescript-eslint/parser": "^4.
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
43
|
+
"@typescript-eslint/parser": "^4.33.0",
|
|
44
44
|
"eslint": "^7.32.0",
|
|
45
45
|
"eslint-config-airbnb-base": "^14.2.1",
|
|
46
46
|
"eslint-config-prettier": "^8.3.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"eslint-plugin-typescript-sort-keys": "^1.8.0",
|
|
84
84
|
"eslint-plugin-unicorn": "^36.0.0",
|
|
85
85
|
"eslint-plugin-unused-imports": "^1.1.5",
|
|
86
|
-
"eslint-plugin-vue": "^7.
|
|
86
|
+
"eslint-plugin-vue": "^7.19.0",
|
|
87
87
|
"eslint-plugin-vuejs-accessibility": "^0.7.1",
|
|
88
88
|
"eslint-plugin-vuetify": "^1.0.1",
|
|
89
89
|
"eslint-plugin-write-good-comments": "^0.1.3",
|
package/plugins/spellcheck.js
CHANGED
|
@@ -12,11 +12,14 @@ module.exports = {
|
|
|
12
12
|
{
|
|
13
13
|
ignoreRequire: true,
|
|
14
14
|
minLength: 4,
|
|
15
|
+
|
|
15
16
|
skipIfMatch: ['^@.*', '^plugin:.*'],
|
|
16
17
|
|
|
17
18
|
skipWordIfMatch: [
|
|
18
19
|
// HEX colors
|
|
19
20
|
'^[0-9a-f]{3,6}$',
|
|
21
|
+
// eslint-disable-next-line prettier/prettier
|
|
22
|
+
"^'",
|
|
20
23
|
],
|
|
21
24
|
|
|
22
25
|
skipWords,
|
package/plugins/vue.js
CHANGED
|
@@ -23,6 +23,11 @@ module.exports = {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
|
|
26
|
+
// 'vue/component-api-style': [
|
|
27
|
+
// 'error',
|
|
28
|
+
// ['script-setup', 'composition', 'options'],
|
|
29
|
+
// ],
|
|
30
|
+
|
|
26
31
|
'vue/component-definition-name-casing': ['error', 'kebab-case'],
|
|
27
32
|
|
|
28
33
|
'vue/component-name-in-template-casing': [
|
|
@@ -77,29 +82,55 @@ module.exports = {
|
|
|
77
82
|
],
|
|
78
83
|
|
|
79
84
|
'vue/new-line-between-multi-line-property': ['error'],
|
|
85
|
+
|
|
80
86
|
'vue/next-tick-style': ['error', 'promise'],
|
|
87
|
+
|
|
81
88
|
'vue/no-deprecated-scope-attribute': ['error'],
|
|
89
|
+
|
|
82
90
|
'vue/no-deprecated-slot-attribute': ['error'],
|
|
91
|
+
|
|
83
92
|
'vue/no-deprecated-slot-scope-attribute': ['error'],
|
|
93
|
+
|
|
84
94
|
'vue/no-empty-component-block': ['error'],
|
|
95
|
+
|
|
85
96
|
'vue/no-invalid-model-keys': ['error'],
|
|
97
|
+
|
|
86
98
|
'vue/no-irregular-whitespace': ['error'],
|
|
99
|
+
|
|
87
100
|
'vue/no-multiple-objects-in-class': ['error'],
|
|
101
|
+
|
|
88
102
|
'vue/no-parsing-error': ['error'],
|
|
103
|
+
|
|
89
104
|
'vue/no-potential-component-option-typo': ['error'],
|
|
105
|
+
|
|
90
106
|
'vue/no-reserved-component-names': ['error'],
|
|
107
|
+
|
|
91
108
|
'vue/no-restricted-component-options': ['error'],
|
|
109
|
+
|
|
92
110
|
'vue/no-restricted-props': ['error'],
|
|
111
|
+
|
|
93
112
|
'vue/no-this-in-before-route-enter': ['error'],
|
|
113
|
+
|
|
94
114
|
'vue/no-unsupported-features': ['error'],
|
|
115
|
+
|
|
95
116
|
'vue/no-unused-components': ['error'],
|
|
117
|
+
|
|
96
118
|
'vue/no-unused-refs': ['warn'],
|
|
119
|
+
|
|
97
120
|
'vue/no-use-computed-property-like-method': ['error'],
|
|
121
|
+
|
|
98
122
|
'vue/no-useless-mustaches': ['error'],
|
|
123
|
+
|
|
124
|
+
'vue/no-useless-template-attributes': ['error'],
|
|
125
|
+
|
|
99
126
|
'vue/no-useless-v-bind': ['error'],
|
|
127
|
+
|
|
100
128
|
'vue/no-v-html': ['error'],
|
|
129
|
+
|
|
101
130
|
'vue/no-v-text': ['error'],
|
|
131
|
+
|
|
102
132
|
'vue/padding-line-between-blocks': ['error'],
|
|
133
|
+
|
|
103
134
|
'vue/require-direct-export': 'off',
|
|
104
135
|
|
|
105
136
|
'vue/sort-keys': [
|