@danielwaltz/eslint-config 2.4.0 → 2.5.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/CHANGELOG.md +33 -0
- package/dist/index.mjs +13 -2
- package/package.json +6 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,39 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## v2.5.1
|
|
5
|
+
|
|
6
|
+
[compare changes](https://github.com/danielwaltz/eslint-config/compare/v2.5.0...v2.5.1)
|
|
7
|
+
|
|
8
|
+
### 🩹 Fixes
|
|
9
|
+
|
|
10
|
+
- Update sxzz config ([c03a79e](https://github.com/danielwaltz/eslint-config/commit/c03a79e))
|
|
11
|
+
|
|
12
|
+
### 🏡 Chore
|
|
13
|
+
|
|
14
|
+
- Refresh editorconfig ([9b2046c](https://github.com/danielwaltz/eslint-config/commit/9b2046c))
|
|
15
|
+
- Update node to `v22.17.0` ([9057a95](https://github.com/danielwaltz/eslint-config/commit/9057a95))
|
|
16
|
+
|
|
17
|
+
### ❤️ Contributors
|
|
18
|
+
|
|
19
|
+
- Daniel Waltz ([@danielwaltz](https://github.com/danielwaltz))
|
|
20
|
+
|
|
21
|
+
## v2.5.0
|
|
22
|
+
|
|
23
|
+
[compare changes](https://github.com/danielwaltz/eslint-config/compare/v2.4.0...v2.5.0)
|
|
24
|
+
|
|
25
|
+
### 🚀 Enhancements
|
|
26
|
+
|
|
27
|
+
- Add eslint plugin depend ([1dc8d39](https://github.com/danielwaltz/eslint-config/commit/1dc8d39))
|
|
28
|
+
|
|
29
|
+
### 🩹 Fixes
|
|
30
|
+
|
|
31
|
+
- Update sxzz config ([5289ac5](https://github.com/danielwaltz/eslint-config/commit/5289ac5))
|
|
32
|
+
|
|
33
|
+
### ❤️ Contributors
|
|
34
|
+
|
|
35
|
+
- Daniel Waltz ([@danielwaltz](https://github.com/danielwaltz))
|
|
36
|
+
|
|
4
37
|
## v2.4.0
|
|
5
38
|
|
|
6
39
|
[compare changes](https://github.com/danielwaltz/eslint-config/compare/v2.3.1...v2.4.0)
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
import { hasVue, sxzz } from "@sxzz/eslint-config";
|
|
2
|
+
import { configs } from "eslint-plugin-depend";
|
|
2
3
|
import erasableSyntaxOnlyPlugin from "eslint-plugin-erasable-syntax-only";
|
|
3
4
|
import vueA11yPlugin from "eslint-plugin-vuejs-accessibility";
|
|
4
5
|
import { composer, defineFlatConfig } from "eslint-flat-config-utils";
|
|
5
6
|
|
|
6
7
|
export * from "@sxzz/eslint-config"
|
|
7
8
|
|
|
9
|
+
//#region src/configs/depend.ts
|
|
10
|
+
function dependConfigs() {
|
|
11
|
+
return [{
|
|
12
|
+
name: "danielwaltz/depend",
|
|
13
|
+
...configs["flat/recommended"]
|
|
14
|
+
}];
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
8
18
|
//#region src/configs/typescript.ts
|
|
9
19
|
function typescriptConfigs() {
|
|
10
20
|
return [{
|
|
@@ -119,8 +129,8 @@ function vueConfigs() {
|
|
|
119
129
|
|
|
120
130
|
//#endregion
|
|
121
131
|
//#region src/utils.ts
|
|
122
|
-
function defineFlatConfigs(...configs) {
|
|
123
|
-
return composer(...configs);
|
|
132
|
+
function defineFlatConfigs(...configs$1) {
|
|
133
|
+
return composer(...configs$1);
|
|
124
134
|
}
|
|
125
135
|
|
|
126
136
|
//#endregion
|
|
@@ -128,6 +138,7 @@ function defineFlatConfigs(...configs) {
|
|
|
128
138
|
function danielwaltz(...params) {
|
|
129
139
|
const composer$1 = defineFlatConfigs();
|
|
130
140
|
composer$1.prepend(sxzz(...params));
|
|
141
|
+
composer$1.append(dependConfigs());
|
|
131
142
|
composer$1.append(typescriptConfigs());
|
|
132
143
|
composer$1.append(unicornConfigs());
|
|
133
144
|
if (hasVue()) composer$1.append(vueConfigs());
|
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.5.1",
|
|
4
|
+
"packageManager": "pnpm@10.13.1",
|
|
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": "^7.0.
|
|
43
|
+
"@sxzz/eslint-config": "^7.0.6",
|
|
44
44
|
"eslint-flat-config-utils": "^2.1.0",
|
|
45
|
+
"eslint-plugin-depend": "^1.2.0",
|
|
45
46
|
"eslint-plugin-erasable-syntax-only": "^0.3.1",
|
|
46
47
|
"eslint-plugin-vuejs-accessibility": "^2.4.1"
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
49
50
|
"@tsconfig/node22": "^22.0.2",
|
|
50
|
-
"@types/node": "~22.15.
|
|
51
|
-
"changelogen": "^0.6.
|
|
51
|
+
"@types/node": "~22.15.35",
|
|
52
|
+
"changelogen": "^0.6.2",
|
|
52
53
|
"obuild": "^0.2.1",
|
|
53
54
|
"typescript": "~5.8.3"
|
|
54
55
|
}
|