Skip to content

Commit

Permalink
chore: lint TS config prop order
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed Mar 14, 2024
1 parent e1e8a2d commit 51f7e06
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
4 changes: 1 addition & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import antfu from '@antfu/eslint-config'

export default await antfu({
ignores: ['**/tsconfig.json'],
})
export default await antfu()
23 changes: 9 additions & 14 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,24 @@
{
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
"jsx": "preserve",
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"module": "ESNext",
"moduleResolution": "Bundler",
"paths": {
"@unlazy/core": ["./packages/core/src/index.ts"],
"@unlazy/core/*": ["./packages/core/src/*"],
"unlazy": ["./packages/unlazy/src/index.ts"],
"unlazy/*": ["./packages/unlazy/src/*"]
},
"skipLibCheck": true,

/* Bundler mode */
"moduleResolution": "Bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"resolveJsonModule": true,
"isolatedModules": true,
"esModuleInterop": true,
"allowImportingTsExtensions": true,
"strict": true,
"noEmit": true,
"jsx": "preserve",

/* Linting */
"strict": true
"esModuleInterop": true,
"isolatedModules": true,
"verbatimModuleSyntax": true,
"skipLibCheck": true
},
"include": [
"packages"
Expand Down

0 comments on commit 51f7e06

Please sign in to comment.