File tree Expand file tree Collapse file tree 8 files changed +1938
-2265
lines changed Expand file tree Collapse file tree 8 files changed +1938
-2265
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ jobs:
16
16
- run : corepack enable
17
17
- uses : actions/setup-node@v4
18
18
with :
19
- node-version : 18
19
+ node-version : 22
20
20
cache : " pnpm"
21
21
- run : pnpm install
22
22
- name : Fix lint issues
23
23
run : pnpm run lint:fix && pnpm vitest run --update
24
24
- uses : autofix-ci/action@ea32e3a12414e6d3183163c3424a7d7a8631ad84
25
25
with :
26
- commit-message : " chore: apply automated fixes "
26
+ commit-message : " chore: apply automated updates "
Original file line number Diff line number Diff line change 16
16
- run : corepack enable
17
17
- uses : actions/setup-node@v4
18
18
with :
19
- node-version : 16
19
+ node-version : 22
20
20
cache : " pnpm"
21
21
- run : pnpm install
22
22
- run : pnpm lint
Original file line number Diff line number Diff line change
1
+ import unjs from "eslint-config-unjs" ;
2
+
3
+ // https://github.com/unjs/eslint-config
4
+ export default unjs ( {
5
+ ignores : [ ] ,
6
+ rules : {
7
+ "unicorn/no-null" : 0 ,
8
+ "unicorn/prevent-abbreviations" : 0
9
+ } ,
10
+ } ) ;
Original file line number Diff line number Diff line change 18
18
"scripts" : {
19
19
"build" : " unbuild" ,
20
20
"dev" : " vitest" ,
21
- "lint" : " eslint --ext .ts . && prettier -c src test" ,
22
- "lint:fix" : " eslint --fix --ext .ts . && prettier -w src test" ,
21
+ "lint" : " eslint . && prettier -c src test" ,
22
+ "lint:fix" : " eslint --fix . && prettier -w src test" ,
23
23
"prepack" : " unbuild" ,
24
24
"play:bun" : " bun playground/bun.ts" ,
25
25
"play:deno" : " pnpm build && deno run -A playground/deno.ts" ,
29
29
"typecheck" : " tsc --noEmit"
30
30
},
31
31
"devDependencies" : {
32
- "@types/node" : " ^20.12.5 " ,
33
- "@vitest/coverage-v8" : " ^1.4.0 " ,
34
- "changelogen" : " ^0.5.5 " ,
35
- "esbuild" : " ^0.20.2 " ,
36
- "eslint" : " ^8.57.0 " ,
37
- "eslint-config-unjs" : " ^0.2.1 " ,
38
- "jiti" : " ^1.21.0 " ,
39
- "prettier" : " ^3.2.5 " ,
40
- "rollup" : " ^4.14.1 " ,
41
- "typescript" : " ^5.4.4 " ,
32
+ "@types/node" : " ^22.6.1 " ,
33
+ "@vitest/coverage-v8" : " ^2.1.1 " ,
34
+ "changelogen" : " ^0.5.7 " ,
35
+ "esbuild" : " ^0.24.0 " ,
36
+ "eslint" : " ^9.11.1 " ,
37
+ "eslint-config-unjs" : " ^0.3.2 " ,
38
+ "jiti" : " ^1.21.6 " ,
39
+ "prettier" : " ^3.3.3 " ,
40
+ "rollup" : " ^4.22.4 " ,
41
+ "typescript" : " ^5.6.2 " ,
42
42
"unbuild" : " ^2.0.0" ,
43
- "vitest" : " ^1.4.0 "
43
+ "vitest" : " ^2.1.1 "
44
44
},
45
45
"packageManager" : " pnpm@8.15.6"
46
46
}
You can’t perform that action at this time.
0 commit comments