@danielwaltz/eslint-config 0.0.7 → 0.0.9
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 +29 -0
- package/README.md +4 -4
- package/dist/index.mjs +2 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,35 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## v0.0.9
|
|
5
|
+
|
|
6
|
+
[compare changes](https://github.com/danielwaltz/eslint-config/compare/v0.0.8...v0.0.9)
|
|
7
|
+
|
|
8
|
+
### 📖 Documentation
|
|
9
|
+
|
|
10
|
+
- Add prettier to install deps ([be84faa](https://github.com/danielwaltz/eslint-config/commit/be84faa))
|
|
11
|
+
|
|
12
|
+
### 🏡 Chore
|
|
13
|
+
|
|
14
|
+
- Enable ts for eslint config locally ([7f616a3](https://github.com/danielwaltz/eslint-config/commit/7f616a3))
|
|
15
|
+
- Update deps ([e0d0544](https://github.com/danielwaltz/eslint-config/commit/e0d0544))
|
|
16
|
+
|
|
17
|
+
### ❤️ Contributors
|
|
18
|
+
|
|
19
|
+
- Daniel Waltz ([@danielwaltz](http://github.com/danielwaltz))
|
|
20
|
+
|
|
21
|
+
## v0.0.8
|
|
22
|
+
|
|
23
|
+
[compare changes](https://github.com/danielwaltz/eslint-config/compare/v0.0.7...v0.0.8)
|
|
24
|
+
|
|
25
|
+
### 🩹 Fixes
|
|
26
|
+
|
|
27
|
+
- Prepend sxzz config to ensure it is the base ([c874acf](https://github.com/danielwaltz/eslint-config/commit/c874acf))
|
|
28
|
+
|
|
29
|
+
### ❤️ Contributors
|
|
30
|
+
|
|
31
|
+
- Daniel Waltz ([@danielwaltz](http://github.com/danielwaltz))
|
|
32
|
+
|
|
4
33
|
## v0.0.7
|
|
5
34
|
|
|
6
35
|
[compare changes](https://github.com/danielwaltz/eslint-config/compare/v0.0.6...v0.0.7)
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ My personal ESLint configuration. Extends from [@sxzz/eslint-config](https://git
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```shell
|
|
8
|
-
npx -y nypm@latest i -D eslint @danielwaltz/eslint-config
|
|
8
|
+
npx -y nypm@latest i -D eslint prettier @danielwaltz/eslint-config
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
@@ -21,7 +21,7 @@ export default danielwaltz();
|
|
|
21
21
|
```mjs
|
|
22
22
|
import { danielwaltz } from "@danielwaltz/eslint-config";
|
|
23
23
|
|
|
24
|
-
export default danielwaltz([...
|
|
25
|
-
.prepend([...
|
|
26
|
-
.append([...
|
|
24
|
+
export default danielwaltz([...customConfigs])
|
|
25
|
+
.prepend([...prependConfigs])
|
|
26
|
+
.append([...appendConfigs]);
|
|
27
27
|
```
|
package/dist/index.mjs
CHANGED
|
@@ -109,10 +109,9 @@ function defineFlatConfigs(...configs) {
|
|
|
109
109
|
|
|
110
110
|
function danielwaltz(...userConfigs) {
|
|
111
111
|
const composer = defineFlatConfigs(...userConfigs);
|
|
112
|
-
composer.
|
|
112
|
+
composer.prepend(sxzz());
|
|
113
113
|
composer.append(unicornConfigs());
|
|
114
|
-
if (hasVue)
|
|
115
|
-
composer.append(vueConfigs());
|
|
114
|
+
if (hasVue) composer.append(vueConfigs());
|
|
116
115
|
return composer;
|
|
117
116
|
}
|
|
118
117
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danielwaltz/eslint-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"packageManager": "pnpm@9.15.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "unbuild",
|
|
29
29
|
"stub": "unbuild --stub",
|
|
30
|
-
"lint": "eslint .",
|
|
30
|
+
"lint": "eslint . --flag unstable_ts_config",
|
|
31
31
|
"type-check": "tsc --noEmit",
|
|
32
32
|
"prepack": "pnpm build",
|
|
33
33
|
"test": "pnpm prepack && pnpm lint && pnpm type-check && pnpx publint@latest && pnpx @arethetypeswrong/cli@latest --pack --profile esm-only",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@tsconfig/node22": "^22.0.0",
|
|
46
|
-
"@types/node": "~22.10.
|
|
46
|
+
"@types/node": "~22.10.2",
|
|
47
47
|
"changelogen": "^0.5.7",
|
|
48
48
|
"typescript": "~5.7.2",
|
|
49
|
-
"unbuild": "^
|
|
49
|
+
"unbuild": "^3.0.1"
|
|
50
50
|
}
|
|
51
51
|
}
|