Skip to content

Commit 3163e50

Browse files
committed
fix: fix eslint error
1 parent ba98934 commit 3163e50

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.eslintrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525
"unicorn/prefer-node-protocol": "off"
2626
}
2727
},
28+
{
29+
"files": ["**/*.json"],
30+
"rules": {
31+
"eol-last": "off"
32+
}
33+
},
2834
{
2935
"files": ["docs/**/*.*"],
3036
"rules": {

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
node-version: 19
2525
cache: pnpm
2626

27-
- name: Install And Build
28-
run: pnpm i
27+
- name: Install
28+
run: pnpm i --ignore-scripts
2929

3030
- name: Lint
3131
run: pnpm lint

docs/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
// with our declaration files (mostly names that are forgotten to be
3737
// imported, invalid semantics...). Because we don't have end-to-end type
3838
// tests, removing this would make things much harder to catch.
39-
"skipLibCheck": false,
39+
"skipLibCheck": false
4040
},
4141
"include": [".", "*.ts"],
42-
"exclude": ["src/sw.js", "node_modules"],
42+
"exclude": ["src/sw.js", "node_modules"]
4343
}

0 commit comments

Comments
 (0)