Skip to content

Commit

Permalink
fix(typescript): enable skipLibCheck by default
Browse files Browse the repository at this point in the history
Non-breaking change as less code checked, some popular fail check. Not yet upgrading to ESLint 9, requires new configuration structure. release-npm
  • Loading branch information
tobua committed Apr 11, 2024
1 parent 8f7a2b7 commit 730262d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
1 change: 1 addition & 0 deletions configuration/tsconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const tsconfig = (tsconfigUserOverrides = {}) => {
// The local tsconfig in this package will be written and the user config is extending it.
const packageTSConfig = {
compilerOptions: {
skipLibCheck: true,
jsx: 'react-jsx',
esModuleInterop: true,
target: 'esnext',
Expand Down
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@
"@babel/preset-env": "^7.24.4",
"@babel/preset-react": "^7.24.1",
"@manypkg/find-root": "^2.2.1",
"@npmcli/map-workspaces": "^3.0.4",
"@rspack/core": "^0.5.9",
"@rspack/dev-server": "^0.5.9",
"@rspack/plugin-react-refresh": "^0.5.9",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"@npmcli/map-workspaces": "^3.0.6",
"@rspack/core": "^0.6.1",
"@rspack/dev-server": "^0.6.1",
"@rspack/plugin-react-refresh": "^0.6.1",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"ajv": "^8.12.0",
"chalk": "^5.3.0",
"commander": "^12.0.0",
"css-loader": "^6.11.0",
"css-loader": "^7.1.1",
"deepmerge-ts": "^5.1.0",
"ejs": "^3.1.9",
"eslint": "^8.57.0",
"eslint": "8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
Expand All @@ -62,7 +62,7 @@
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"get-port": "^7.1.0",
"global-dirs": "^3.0.1",
"global-dirs": "^4.0.0",
"inject-manifest-plugin": "^0.5.1",
"lodash.isplainobject": "^4.0.6",
"logua": "^3.0.3",
Expand All @@ -80,23 +80,23 @@
"react-refresh": "^0.14.0",
"serve-handler": "^6.1.5",
"skip-local-postinstall": "^2.0.4",
"style-loader": "^3.3.4",
"style-loader": "^4.0.0",
"stylelint": "^16.3.1",
"stylelint-config-recommended": "^14.0.0",
"typescript": "^5.4.3",
"typescript": "^5.4.5",
"url-join": "^5.0.0",
"webpack": "^5.91.0"
},
"devDependencies": {
"@types/node": "^20.12.4",
"@types/node": "^20.12.7",
"@types/serve-handler": "^6.1.4",
"cypress": "^13.7.2",
"cypress": "^13.7.3",
"jest-fixture": "^4.1.0",
"padua": "^4.0.1",
"react": "^18.2.0",
"tcp-port-used": "^1.0.2",
"tobua": "^0.3.0",
"vitest": "^1.4.0"
"vitest": "^1.5.0"
},
"peerDependencies": {
"vitest": ">= 0.30"
Expand Down

0 comments on commit 730262d

Please sign in to comment.