Skip to content

Commit

Permalink
Simplify tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
csandman committed Oct 10, 2024
1 parent d6f84e5 commit afb4e50
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"lint": "concurrently npm:lint:*",
"lint:exports": "attw --pack .",
"lint:src": "eslint .",
"lint:types": "tsc --noEmit",
"lint:types": "tsc",
"lint-fix": "eslint --fix src",
"prepare": "husky",
"prepublishOnly": "npm run build && npm run lint",
Expand Down
14 changes: 5 additions & 9 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,22 @@
"target": "ESNext",
"module": "ESNext",
"lib": ["DOM", "ESNext"],
"declaration": true,
"sourceMap": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"downlevelIteration": true,
"skipLibCheck": true,

/* Bundler mode */
"moduleResolution": "Bundler",
"isolatedModules": true,
"jsx": "react-jsx",
"noEmit": true,

/* JSX */
"jsx": "react-jsx",

/* Linting */
"strict": true,
"skipLibCheck": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"forceConsistentCasingInFileNames": true
},
"include": ["src"],
"exclude": ["node_modules"]
"include": ["src"]
}

0 comments on commit afb4e50

Please sign in to comment.