@alexlit/config-eslint 21.2.0 → 22.1.1
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/.eslintrc.js +2 -0
- package/CHANGELOG.md +13 -0
- package/package.json +6 -4
- package/plugins/lit-a11y.js +8 -0
- package/plugins/spellcheck.js +3 -4
- package/plugins/wc.js +8 -0
package/.eslintrc.js
CHANGED
|
@@ -27,6 +27,7 @@ module.exports = defineConfig({
|
|
|
27
27
|
'./plugins/jsdoc',
|
|
28
28
|
'./plugins/jsx-a11y',
|
|
29
29
|
'./plugins/lit',
|
|
30
|
+
'./plugins/lit-a11y',
|
|
30
31
|
'./plugins/more',
|
|
31
32
|
'./plugins/no-constructor-bind',
|
|
32
33
|
'./plugins/no-loops',
|
|
@@ -48,6 +49,7 @@ module.exports = defineConfig({
|
|
|
48
49
|
'./plugins/unused-imports',
|
|
49
50
|
'./plugins/vue',
|
|
50
51
|
'./plugins/vuejs-accessibility',
|
|
52
|
+
'./plugins/wc',
|
|
51
53
|
'./plugins/write-good-comments',
|
|
52
54
|
// './plugins/no-inferred-method-name', // buggy
|
|
53
55
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## [22.1.1](https://github.com/alex-lit/config-eslint/compare/v22.1.0...v22.1.1) (2021-10-08)
|
|
2
|
+
|
|
3
|
+
# [22.1.0](https://github.com/alex-lit/config-eslint/compare/v22.0.0...v22.1.0) (2021-10-07)
|
|
4
|
+
|
|
5
|
+
# [22.0.0](https://github.com/alex-lit/config-eslint/compare/v21.3.0...v22.0.0) (2021-10-06)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- support web components
|
|
10
|
+
([38283db](https://github.com/alex-lit/config-eslint/commit/38283dbcde18cf01c9b4ee721906f7703db2068f))
|
|
11
|
+
|
|
12
|
+
# [21.3.0](https://github.com/alex-lit/config-eslint/compare/v21.2.0...v21.3.0) (2021-10-05)
|
|
13
|
+
|
|
1
14
|
# [21.2.0](https://github.com/alex-lit/config-eslint/compare/v21.1.0...v21.2.0) (2021-10-05)
|
|
2
15
|
|
|
3
16
|
# [21.1.0](https://github.com/alex-lit/config-eslint/compare/v21.0.1...v21.1.0) (2021-10-04)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-eslint",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.1.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "eslint config",
|
|
6
6
|
"keywords": [
|
|
@@ -57,7 +57,8 @@
|
|
|
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
|
+
"eslint-plugin-lit-a11y": "^1.0.1",
|
|
61
62
|
"eslint-plugin-more": "^1.0.3",
|
|
62
63
|
"eslint-plugin-no-constructor-bind": "^2.0.4",
|
|
63
64
|
"eslint-plugin-no-inferred-method-name": "^2.0.0",
|
|
@@ -70,7 +71,7 @@
|
|
|
70
71
|
"eslint-plugin-promise": "^5.1.0",
|
|
71
72
|
"eslint-plugin-react": "^7.26.1",
|
|
72
73
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
73
|
-
"eslint-plugin-regexp": "^1.
|
|
74
|
+
"eslint-plugin-regexp": "^1.4.1",
|
|
74
75
|
"eslint-plugin-security": "^1.4.0",
|
|
75
76
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
76
77
|
"eslint-plugin-sonarjs": "^0.10.0",
|
|
@@ -83,9 +84,10 @@
|
|
|
83
84
|
"eslint-plugin-typescript-sort-keys": "^1.8.0",
|
|
84
85
|
"eslint-plugin-unicorn": "^36.0.0",
|
|
85
86
|
"eslint-plugin-unused-imports": "^1.1.5",
|
|
86
|
-
"eslint-plugin-vue": "^7.19.
|
|
87
|
+
"eslint-plugin-vue": "^7.19.1",
|
|
87
88
|
"eslint-plugin-vuejs-accessibility": "^0.7.1",
|
|
88
89
|
"eslint-plugin-vuetify": "^1.0.1",
|
|
90
|
+
"eslint-plugin-wc": "^1.3.2",
|
|
89
91
|
"eslint-plugin-write-good-comments": "^0.1.3",
|
|
90
92
|
"typescript": "^4.4.3"
|
|
91
93
|
},
|
package/plugins/spellcheck.js
CHANGED
|
@@ -16,10 +16,9 @@ module.exports = {
|
|
|
16
16
|
skipIfMatch: ['^@.*', '^plugin:.*'],
|
|
17
17
|
|
|
18
18
|
skipWordIfMatch: [
|
|
19
|
-
// HEX colors
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"^'",
|
|
19
|
+
'^[0-9a-f]{3,6}$', // HEX colors
|
|
20
|
+
/* prettier-ignore */
|
|
21
|
+
'^\'',
|
|
23
22
|
],
|
|
24
23
|
|
|
25
24
|
skipWords,
|