@danielwaltz/eslint-config 2.1.0 → 2.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 +17 -0
- package/dist/index.mjs +3 -1
- package/package.json +8 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## v2.2.0
|
|
5
|
+
|
|
6
|
+
[compare changes](https://github.com/danielwaltz/eslint-config/compare/v2.1.0...v2.2.0)
|
|
7
|
+
|
|
8
|
+
### 🚀 Enhancements
|
|
9
|
+
|
|
10
|
+
- Update vue on handler style ([7924eb2](https://github.com/danielwaltz/eslint-config/commit/7924eb2))
|
|
11
|
+
- Add vue accessibility config ([965489e](https://github.com/danielwaltz/eslint-config/commit/965489e))
|
|
12
|
+
|
|
13
|
+
### 🏡 Chore
|
|
14
|
+
|
|
15
|
+
- Update deps ([4169d8e](https://github.com/danielwaltz/eslint-config/commit/4169d8e))
|
|
16
|
+
|
|
17
|
+
### ❤️ Contributors
|
|
18
|
+
|
|
19
|
+
- Daniel Waltz ([@danielwaltz](https://github.com/danielwaltz))
|
|
20
|
+
|
|
4
21
|
## v2.1.0
|
|
5
22
|
|
|
6
23
|
[compare changes](https://github.com/danielwaltz/eslint-config/compare/v2.0.1...v2.1.0)
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { sxzz, hasVue } from '@sxzz/eslint-config';
|
|
2
2
|
export * from '@sxzz/eslint-config';
|
|
3
3
|
import erasableSyntaxOnlyPlugin from 'eslint-plugin-erasable-syntax-only';
|
|
4
|
+
import vueA11yPlugin from 'eslint-plugin-vuejs-accessibility';
|
|
4
5
|
import { composer } from 'eslint-flat-config-utils';
|
|
5
6
|
export { defineFlatConfig } from 'eslint-flat-config-utils';
|
|
6
7
|
|
|
@@ -32,6 +33,7 @@ function unicornConfigs() {
|
|
|
32
33
|
|
|
33
34
|
function vueConfigs() {
|
|
34
35
|
return [
|
|
36
|
+
...vueA11yPlugin.configs["flat/recommended"],
|
|
35
37
|
{
|
|
36
38
|
name: "danielwaltz/vue",
|
|
37
39
|
files: ["**/*.vue"],
|
|
@@ -108,7 +110,7 @@ function vueConfigs() {
|
|
|
108
110
|
{ sameNameShorthand: "always" }
|
|
109
111
|
],
|
|
110
112
|
"vue/v-for-delimiter-style": "error",
|
|
111
|
-
"vue/v-on-handler-style": "error"
|
|
113
|
+
"vue/v-on-handler-style": ["error", ["method", "inline"]]
|
|
112
114
|
}
|
|
113
115
|
}
|
|
114
116
|
];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danielwaltz/eslint-config",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"packageManager": "pnpm@10.
|
|
3
|
+
"version": "2.2.0",
|
|
4
|
+
"packageManager": "pnpm@10.8.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"eslint-config"
|
|
@@ -40,15 +40,16 @@
|
|
|
40
40
|
"prettier": ">=3"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@sxzz/eslint-config": "^6.1.
|
|
43
|
+
"@sxzz/eslint-config": "^6.1.1",
|
|
44
44
|
"eslint-flat-config-utils": "^2.0.1",
|
|
45
|
-
"eslint-plugin-erasable-syntax-only": "^0.3.
|
|
45
|
+
"eslint-plugin-erasable-syntax-only": "^0.3.1",
|
|
46
|
+
"eslint-plugin-vuejs-accessibility": "^2.4.1"
|
|
46
47
|
},
|
|
47
48
|
"devDependencies": {
|
|
48
|
-
"@tsconfig/node22": "^22.0.
|
|
49
|
-
"@types/node": "~22.
|
|
49
|
+
"@tsconfig/node22": "^22.0.1",
|
|
50
|
+
"@types/node": "~22.14.0",
|
|
50
51
|
"changelogen": "^0.6.1",
|
|
51
|
-
"typescript": "~5.8.
|
|
52
|
+
"typescript": "~5.8.3",
|
|
52
53
|
"unbuild": "^3.5.0"
|
|
53
54
|
}
|
|
54
55
|
}
|