@danielwaltz/eslint-config 2.2.0 → 2.2.2
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 +25 -0
- package/dist/index.mjs +11 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## v2.2.2
|
|
5
|
+
|
|
6
|
+
[compare changes](https://github.com/danielwaltz/eslint-config/compare/v2.2.1...v2.2.2)
|
|
7
|
+
|
|
8
|
+
### 🩹 Fixes
|
|
9
|
+
|
|
10
|
+
- Update default accessibility component names ([6309f09](https://github.com/danielwaltz/eslint-config/commit/6309f09))
|
|
11
|
+
- Update sxzz config ([fb3b808](https://github.com/danielwaltz/eslint-config/commit/fb3b808))
|
|
12
|
+
|
|
13
|
+
### ❤️ Contributors
|
|
14
|
+
|
|
15
|
+
- Daniel Waltz ([@danielwaltz](https://github.com/danielwaltz))
|
|
16
|
+
|
|
17
|
+
## v2.2.1
|
|
18
|
+
|
|
19
|
+
[compare changes](https://github.com/danielwaltz/eslint-config/compare/v2.2.0...v2.2.1)
|
|
20
|
+
|
|
21
|
+
### 🩹 Fixes
|
|
22
|
+
|
|
23
|
+
- Configure vue accessibility rules to check for nuxt components ([22afe2b](https://github.com/danielwaltz/eslint-config/commit/22afe2b))
|
|
24
|
+
|
|
25
|
+
### ❤️ Contributors
|
|
26
|
+
|
|
27
|
+
- Daniel Waltz ([@danielwaltz](https://github.com/danielwaltz))
|
|
28
|
+
|
|
4
29
|
## v2.2.0
|
|
5
30
|
|
|
6
31
|
[compare changes](https://github.com/danielwaltz/eslint-config/compare/v2.1.0...v2.2.0)
|
package/dist/index.mjs
CHANGED
|
@@ -38,6 +38,7 @@ function vueConfigs() {
|
|
|
38
38
|
name: "danielwaltz/vue",
|
|
39
39
|
files: ["**/*.vue"],
|
|
40
40
|
rules: {
|
|
41
|
+
// Base
|
|
41
42
|
"vue/block-lang": ["error", { script: { lang: ["ts", "tsx"] } }],
|
|
42
43
|
"vue/block-order": [
|
|
43
44
|
"error",
|
|
@@ -110,7 +111,16 @@ function vueConfigs() {
|
|
|
110
111
|
{ sameNameShorthand: "always" }
|
|
111
112
|
],
|
|
112
113
|
"vue/v-for-delimiter-style": "error",
|
|
113
|
-
"vue/v-on-handler-style": ["error", ["method", "inline"]]
|
|
114
|
+
"vue/v-on-handler-style": ["error", ["method", "inline"]],
|
|
115
|
+
// Accessibility
|
|
116
|
+
"vuejs-accessibility/alt-text": [
|
|
117
|
+
"error",
|
|
118
|
+
{ img: ["AppImg", "BaseImg", "NuxtImg"] }
|
|
119
|
+
],
|
|
120
|
+
"vuejs-accessibility/anchor-has-content": [
|
|
121
|
+
"error",
|
|
122
|
+
{ components: ["AppLink", "BaseLink", "NuxtLink"] }
|
|
123
|
+
]
|
|
114
124
|
}
|
|
115
125
|
}
|
|
116
126
|
];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danielwaltz/eslint-config",
|
|
3
|
-
"version": "2.2.
|
|
4
|
-
"packageManager": "pnpm@10.
|
|
3
|
+
"version": "2.2.2",
|
|
4
|
+
"packageManager": "pnpm@10.9.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"eslint-config"
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"prettier": ">=3"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@sxzz/eslint-config": "^6.1.
|
|
43
|
+
"@sxzz/eslint-config": "^6.1.2",
|
|
44
44
|
"eslint-flat-config-utils": "^2.0.1",
|
|
45
45
|
"eslint-plugin-erasable-syntax-only": "^0.3.1",
|
|
46
46
|
"eslint-plugin-vuejs-accessibility": "^2.4.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@tsconfig/node22": "^22.0.1",
|
|
50
|
-
"@types/node": "~22.14.
|
|
50
|
+
"@types/node": "~22.14.1",
|
|
51
51
|
"changelogen": "^0.6.1",
|
|
52
52
|
"typescript": "~5.8.3",
|
|
53
53
|
"unbuild": "^3.5.0"
|