@alexlit/config-eslint 21.0.0 → 21.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 +8 -0
- package/dictionaries/default.js +1 -0
- package/package.json +9 -9
- package/plugins/spellcheck.js +3 -0
- package/plugins/vue.js +31 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
# [21.3.0](https://github.com/alex-lit/config-eslint/compare/v21.2.0...v21.3.0) (2021-10-05)
|
|
2
|
+
|
|
3
|
+
# [21.2.0](https://github.com/alex-lit/config-eslint/compare/v21.1.0...v21.2.0) (2021-10-05)
|
|
4
|
+
|
|
5
|
+
# [21.1.0](https://github.com/alex-lit/config-eslint/compare/v21.0.1...v21.1.0) (2021-10-04)
|
|
6
|
+
|
|
7
|
+
## [21.0.1](https://github.com/alex-lit/config-eslint/compare/v21.0.0...v21.0.1) (2021-09-30)
|
|
8
|
+
|
|
1
9
|
# [21.0.0](https://github.com/alex-lit/config-eslint/compare/v20.6.0...v21.0.0) (2021-09-29)
|
|
2
10
|
|
|
3
11
|
# [20.6.0](https://github.com/alex-lit/config-eslint/compare/v20.5.0...v20.6.0) (2021-09-27)
|
package/dictionaries/default.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-eslint",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.3.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "eslint config",
|
|
6
6
|
"keywords": [
|
|
@@ -39,25 +39,25 @@
|
|
|
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",
|
|
47
|
-
"eslint-define-config": "^1.
|
|
47
|
+
"eslint-define-config": "^1.1.1",
|
|
48
48
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
49
49
|
"eslint-plugin-array-func": "^3.1.7",
|
|
50
50
|
"eslint-plugin-compat": "^3.13.0",
|
|
51
|
-
"eslint-plugin-decorator-position": "^4.0.
|
|
51
|
+
"eslint-plugin-decorator-position": "^4.0.1",
|
|
52
52
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
53
53
|
"eslint-plugin-ext": "^0.1.0",
|
|
54
54
|
"eslint-plugin-filenames": "^1.3.2",
|
|
55
55
|
"eslint-plugin-import": "^2.24.2",
|
|
56
|
-
"eslint-plugin-jest": "^24.5.
|
|
56
|
+
"eslint-plugin-jest": "^24.5.2",
|
|
57
57
|
"eslint-plugin-jest-formatting": "^3.0.0",
|
|
58
58
|
"eslint-plugin-jsdoc": "^36.1.0",
|
|
59
59
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
60
|
-
"eslint-plugin-lit": "^1.
|
|
60
|
+
"eslint-plugin-lit": "^1.6.0",
|
|
61
61
|
"eslint-plugin-more": "^1.0.3",
|
|
62
62
|
"eslint-plugin-no-constructor-bind": "^2.0.4",
|
|
63
63
|
"eslint-plugin-no-inferred-method-name": "^2.0.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"eslint-plugin-nuxt": "^2.0.0",
|
|
69
69
|
"eslint-plugin-prettier": "^4.0.0",
|
|
70
70
|
"eslint-plugin-promise": "^5.1.0",
|
|
71
|
-
"eslint-plugin-react": "^7.26.
|
|
71
|
+
"eslint-plugin-react": "^7.26.1",
|
|
72
72
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
73
73
|
"eslint-plugin-regexp": "^1.3.1",
|
|
74
74
|
"eslint-plugin-security": "^1.4.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': [
|