@danielwaltz/eslint-config 2.6.2 → 3.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/CHANGELOG.md +24 -0
- package/dist/index.mjs +8 -8
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## v3.0.0
|
|
5
|
+
|
|
6
|
+
[compare changes](https://github.com/danielwaltz/eslint-config/compare/v2.6.2...v3.0.0)
|
|
7
|
+
|
|
8
|
+
### 🚀 Enhancements
|
|
9
|
+
|
|
10
|
+
- ⚠️ Replace depend plugin with e18e ([426a99f](https://github.com/danielwaltz/eslint-config/commit/426a99f))
|
|
11
|
+
|
|
12
|
+
### 🩹 Fixes
|
|
13
|
+
|
|
14
|
+
- Update sxzz config and deps ([9ecdbe3](https://github.com/danielwaltz/eslint-config/commit/9ecdbe3))
|
|
15
|
+
|
|
16
|
+
### 🏡 Chore
|
|
17
|
+
|
|
18
|
+
- Lint fixes ([0e768c2](https://github.com/danielwaltz/eslint-config/commit/0e768c2))
|
|
19
|
+
|
|
20
|
+
#### ⚠️ Breaking Changes
|
|
21
|
+
|
|
22
|
+
- ⚠️ Replace depend plugin with e18e ([426a99f](https://github.com/danielwaltz/eslint-config/commit/426a99f))
|
|
23
|
+
|
|
24
|
+
### ❤️ Contributors
|
|
25
|
+
|
|
26
|
+
- Daniel Waltz ([@danielwaltz](https://github.com/danielwaltz))
|
|
27
|
+
|
|
4
28
|
## v2.6.2
|
|
5
29
|
|
|
6
30
|
[compare changes](https://github.com/danielwaltz/eslint-config/compare/v2.6.1...v2.6.2)
|
package/dist/index.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { hasVue, sxzz } from "@sxzz/eslint-config";
|
|
2
|
-
import
|
|
2
|
+
import e18e from "@e18e/eslint-plugin";
|
|
3
3
|
import erasableSyntaxOnlyPlugin from "eslint-plugin-erasable-syntax-only";
|
|
4
4
|
import vueA11yPlugin from "eslint-plugin-vuejs-accessibility";
|
|
5
5
|
import { composer, defineFlatConfig } from "eslint-flat-config-utils";
|
|
6
6
|
|
|
7
7
|
export * from "@sxzz/eslint-config"
|
|
8
8
|
|
|
9
|
-
//#region src/configs/
|
|
10
|
-
function
|
|
9
|
+
//#region src/configs/e18e.ts
|
|
10
|
+
function e18eConfigs() {
|
|
11
11
|
return [{
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
...e18e.configs.recommended,
|
|
13
|
+
name: "danielwaltz/e18e"
|
|
14
14
|
}];
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -131,8 +131,8 @@ function vueConfigs() {
|
|
|
131
131
|
|
|
132
132
|
//#endregion
|
|
133
133
|
//#region src/utils.ts
|
|
134
|
-
function defineFlatConfigs(...configs
|
|
135
|
-
return composer(...configs
|
|
134
|
+
function defineFlatConfigs(...configs) {
|
|
135
|
+
return composer(...configs);
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
//#endregion
|
|
@@ -140,7 +140,7 @@ function defineFlatConfigs(...configs$1) {
|
|
|
140
140
|
function danielwaltz(...params) {
|
|
141
141
|
const composer$1 = defineFlatConfigs();
|
|
142
142
|
composer$1.prepend(sxzz(...params));
|
|
143
|
-
composer$1.append(
|
|
143
|
+
composer$1.append(e18eConfigs());
|
|
144
144
|
composer$1.append(typescriptConfigs());
|
|
145
145
|
composer$1.append(unicornConfigs());
|
|
146
146
|
if (hasVue()) composer$1.append(vueConfigs());
|
package/package.json
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danielwaltz/eslint-config",
|
|
3
|
-
"version": "2.6.2",
|
|
4
|
-
"packageManager": "pnpm@10.20.0",
|
|
5
3
|
"type": "module",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
"version": "3.0.0",
|
|
5
|
+
"packageManager": "pnpm@10.27.0",
|
|
6
|
+
"author": "Daniel Waltz",
|
|
9
7
|
"license": "MIT",
|
|
10
8
|
"repository": {
|
|
11
9
|
"type": "git",
|
|
12
10
|
"url": "git+https://github.com/danielwaltz/eslint-config.git"
|
|
13
11
|
},
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
"CHANGELOG.md",
|
|
17
|
-
"README.md",
|
|
18
|
-
"dist"
|
|
12
|
+
"keywords": [
|
|
13
|
+
"eslint-config"
|
|
19
14
|
],
|
|
20
|
-
"main": "./dist/index.mjs",
|
|
21
|
-
"module": "./dist/index.mjs",
|
|
22
|
-
"types": "./dist/index.d.mts",
|
|
23
15
|
"exports": {
|
|
24
16
|
".": {
|
|
25
17
|
"types": "./dist/index.d.mts",
|
|
26
18
|
"default": "./dist/index.mjs"
|
|
27
19
|
}
|
|
28
20
|
},
|
|
21
|
+
"main": "./dist/index.mjs",
|
|
22
|
+
"module": "./dist/index.mjs",
|
|
23
|
+
"types": "./dist/index.d.mts",
|
|
24
|
+
"files": [
|
|
25
|
+
"CHANGELOG.md",
|
|
26
|
+
"README.md",
|
|
27
|
+
"dist"
|
|
28
|
+
],
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public",
|
|
31
31
|
"provenance": true,
|
|
@@ -45,17 +45,17 @@
|
|
|
45
45
|
"prettier": ">=3"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@
|
|
48
|
+
"@e18e/eslint-plugin": "^0.1.3",
|
|
49
|
+
"@sxzz/eslint-config": "^7.4.4",
|
|
49
50
|
"eslint-flat-config-utils": "^2.1.4",
|
|
50
|
-
"eslint-plugin-
|
|
51
|
-
"eslint-plugin-erasable-syntax-only": "^0.3.1",
|
|
51
|
+
"eslint-plugin-erasable-syntax-only": "^0.4.0",
|
|
52
52
|
"eslint-plugin-vuejs-accessibility": "^2.4.1"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@tsconfig/node22": "^22.0.
|
|
55
|
+
"@tsconfig/node22": "^22.0.5",
|
|
56
56
|
"@types/node": "~22.17.2",
|
|
57
57
|
"changelogen": "^0.6.2",
|
|
58
|
-
"obuild": "^0.
|
|
58
|
+
"obuild": "^0.4.14",
|
|
59
59
|
"typescript": "~5.9.3"
|
|
60
60
|
}
|
|
61
61
|
}
|