Skip to content

Commit

Permalink
chore: update typescript check
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed May 30, 2023
1 parent 1f6e1e8 commit 56f98aa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/utils.ts
@@ -1,5 +1,5 @@
import { parse } from 'node:path'
import minimatch from 'minimatch'
import {minimatch} from 'minimatch'

Check failure on line 2 in src/core/utils.ts

View workflow job for this annotation

GitHub Actions / lint

A space is required after '{'

Check failure on line 2 in src/core/utils.ts

View workflow job for this annotation

GitHub Actions / lint

A space is required before '}'
import resolve from 'resolve'
import { slash, toArray } from '@antfu/utils'
import {
Expand Down
8 changes: 6 additions & 2 deletions tsconfig.json
Expand Up @@ -2,12 +2,16 @@
"compilerOptions": {
"target": "es2017",
"module": "esnext",
"lib": ["esnext"],
"lib": ["esnext", "DOM"],
"moduleResolution": "node",
"esModuleInterop": true,
"strict": true,
"strictNullChecks": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"jsx": "preserve"
}
},
"exclude": [
"examples/**"
]
}

0 comments on commit 56f98aa

Please sign in to comment.