fix: fix eslint error

This commit is contained in:
JinmingYang
2023-06-19 11:58:58 +08:00
parent ba989345ab
commit 3163e509da
3 changed files with 10 additions and 4 deletions

View File

@@ -25,6 +25,12 @@
"unicorn/prefer-node-protocol": "off"
}
},
{
"files": ["**/*.json"],
"rules": {
"eol-last": "off"
}
},
{
"files": ["docs/**/*.*"],
"rules": {

View File

@@ -24,8 +24,8 @@ jobs:
node-version: 19
cache: pnpm
- name: Install And Build
run: pnpm i
- name: Install
run: pnpm i --ignore-scripts
- name: Lint
run: pnpm lint

View File

@@ -36,8 +36,8 @@
// with our declaration files (mostly names that are forgotten to be
// imported, invalid semantics...). Because we don't have end-to-end type
// tests, removing this would make things much harder to catch.
"skipLibCheck": false,
"skipLibCheck": false
},
"include": [".", "*.ts"],
"exclude": ["src/sw.js", "node_modules"],
"exclude": ["src/sw.js", "node_modules"]
}