@alexlit/config-eslint 34.0.1 → 35.0.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/.eslintrc.js +1 -5
- package/CHANGELOG.md +8 -0
- package/package.json +8 -8
- package/plugins/testing-library.js +7 -3
- package/plugins/vue.js +2 -0
package/.eslintrc.js
CHANGED
|
@@ -43,6 +43,7 @@ module.exports = defineConfig({
|
|
|
43
43
|
'./plugins/sort-keys-fix',
|
|
44
44
|
'./plugins/spellcheck',
|
|
45
45
|
'./plugins/sql',
|
|
46
|
+
'./plugins/testing-library',
|
|
46
47
|
'./plugins/typescript',
|
|
47
48
|
'./plugins/typescript-sort-keys',
|
|
48
49
|
'./plugins/unicorn',
|
|
@@ -88,11 +89,6 @@ module.exports = defineConfig({
|
|
|
88
89
|
'global-require': 'off',
|
|
89
90
|
},
|
|
90
91
|
},
|
|
91
|
-
{
|
|
92
|
-
extends: [require.resolve('./plugins/testing-library')],
|
|
93
|
-
|
|
94
|
-
files: ['*.test.ts', '*.test.js', '*.spec.ts', '*.spec.js'],
|
|
95
|
-
},
|
|
96
92
|
],
|
|
97
93
|
|
|
98
94
|
parserOptions: {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
# [35.0.0](https://github.com/alex-lit/config-eslint/compare/v34.1.2...v35.0.0) (2021-11-22)
|
|
2
|
+
|
|
3
|
+
## [34.1.2](https://github.com/alex-lit/config-eslint/compare/v34.1.1...v34.1.2) (2021-11-18)
|
|
4
|
+
|
|
5
|
+
## [34.1.1](https://github.com/alex-lit/config-eslint/compare/v34.1.0...v34.1.1) (2021-11-18)
|
|
6
|
+
|
|
7
|
+
# [34.1.0](https://github.com/alex-lit/config-eslint/compare/v34.0.1...v34.1.0) (2021-11-18)
|
|
8
|
+
|
|
1
9
|
## [34.0.1](https://github.com/alex-lit/config-eslint/compare/v34.0.0...v34.0.1) (2021-11-17)
|
|
2
10
|
|
|
3
11
|
# [34.0.0](https://github.com/alex-lit/config-eslint/compare/v33.1.1...v34.0.0) (2021-11-17)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-eslint",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "35.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "eslint config",
|
|
6
6
|
"keywords": [
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
|
43
43
|
"@typescript-eslint/parser": "^5.4.0",
|
|
44
|
-
"eslint": "^8.
|
|
44
|
+
"eslint": "^8.3.0",
|
|
45
45
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
46
46
|
"eslint-config-prettier": "^8.3.0",
|
|
47
|
-
"eslint-define-config": "^1.1.
|
|
47
|
+
"eslint-define-config": "^1.1.4",
|
|
48
48
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
49
49
|
"eslint-plugin-array-func": "^3.1.7",
|
|
50
50
|
"eslint-plugin-compat": "^4.0.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"eslint-plugin-filenames": "^1.3.2",
|
|
55
55
|
"eslint-plugin-import": "^2.25.3",
|
|
56
56
|
"eslint-plugin-jest": "^25.2.4",
|
|
57
|
-
"eslint-plugin-jest-formatting": "^3.
|
|
57
|
+
"eslint-plugin-jest-formatting": "^3.1.0",
|
|
58
58
|
"eslint-plugin-jsdoc": "^37.0.3",
|
|
59
59
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
60
60
|
"eslint-plugin-lit": "^1.6.1",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"eslint-plugin-nuxt": "^3.0.0",
|
|
70
70
|
"eslint-plugin-prettier": "^4.0.0",
|
|
71
71
|
"eslint-plugin-promise": "^5.1.1",
|
|
72
|
-
"eslint-plugin-react": "^7.27.
|
|
72
|
+
"eslint-plugin-react": "^7.27.1",
|
|
73
73
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
74
74
|
"eslint-plugin-regexp": "^1.5.0",
|
|
75
75
|
"eslint-plugin-security": "^1.4.0",
|
|
@@ -82,14 +82,14 @@
|
|
|
82
82
|
"eslint-plugin-svelte3": "^3.2.1",
|
|
83
83
|
"eslint-plugin-testing-library": "^5.0.0",
|
|
84
84
|
"eslint-plugin-typescript-sort-keys": "^2.0.0",
|
|
85
|
-
"eslint-plugin-unicorn": "^
|
|
85
|
+
"eslint-plugin-unicorn": "^39.0.0",
|
|
86
86
|
"eslint-plugin-unused-imports": "^2.0.0",
|
|
87
|
-
"eslint-plugin-vue": "^8.
|
|
87
|
+
"eslint-plugin-vue": "^8.1.1",
|
|
88
88
|
"eslint-plugin-vuejs-accessibility": "^1.1.0",
|
|
89
89
|
"eslint-plugin-vuetify": "^1.1.0",
|
|
90
90
|
"eslint-plugin-wc": "^1.3.2",
|
|
91
91
|
"eslint-plugin-write-good-comments": "^0.1.3",
|
|
92
|
-
"typescript": "^4.
|
|
92
|
+
"typescript": "^4.5.2"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
95
|
"@alexlit/lint-kit": "latest"
|
|
@@ -2,7 +2,11 @@
|
|
|
2
2
|
* @see [eslint-plugin-testing-library](https://github.com/testing-library/eslint-plugin-testing-library)
|
|
3
3
|
*/
|
|
4
4
|
module.exports = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
overrides: [
|
|
6
|
+
{
|
|
7
|
+
extends: ['plugin:testing-library/vue'],
|
|
8
|
+
files: ['*.test.ts', '*.test.js', '*.spec.ts', '*.spec.js'],
|
|
9
|
+
plugins: ['testing-library'],
|
|
10
|
+
},
|
|
11
|
+
],
|
|
8
12
|
};
|