Skip to content
Snippets Groups Projects
Commit e82b552c authored by Leonardo Christino's avatar Leonardo Christino
Browse files

chore: fix type check

parent 5d9e082b
No related branches found
Tags v1.18.1
No related merge requests found
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
"baseUrl": ".", "baseUrl": ".",
"types": ["vite/client"], "types": ["vite/client"],
"paths": { "paths": {
"@graphpolaris/shared/lib/*": ["./node_modules/@graphpolaris/shared/lib/*"],
"redux": ["./node_modules/redux"], "redux": ["./node_modules/redux"],
"@storybook/types": ["./node_modules/@storybook/types"], "@storybook/types": ["./node_modules/@storybook/types"],
"redux-thunk": ["./node_modules/redux-thunk"], "redux-thunk": ["./node_modules/redux-thunk"],
...@@ -36,6 +37,8 @@ ...@@ -36,6 +37,8 @@
"dist", "dist",
"build", "build",
"node_modules", "node_modules",
"node_modules/*",
"node_modules/**/*",
"public", "public",
"vitest.setup.ts", // excludes Vitest setup file "vitest.setup.ts", // excludes Vitest setup file
"tailwind.config.js", // excludes Tailwind CSS configuration file "tailwind.config.js", // excludes Tailwind CSS configuration file
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
"scripts": { "scripts": {
"lint": "eslint lib/**/* --no-error-on-unmatched-pattern", "lint": "eslint lib/**/* --no-error-on-unmatched-pattern",
"test": "vitest run", "test": "vitest run",
"type-p": "tsc --noEmit --skipLibCheck",
"coverage": "vitest run --coverage" "coverage": "vitest run --coverage"
}, },
"peerDependencies": { "peerDependencies": {
......
...@@ -2,31 +2,30 @@ ...@@ -2,31 +2,30 @@
"$schema": "https://json.schemastore.org/tsconfig", "$schema": "https://json.schemastore.org/tsconfig",
"display": "React Library", "display": "React Library",
"compilerOptions": { "compilerOptions": {
"target": "ESNext", "target": "ES2022",
"composite": true,
"inlineSources": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
"preserveWatchOutput": true,
"jsx": "react-jsx", "jsx": "react-jsx",
"useDefineForClassFields": true,
"lib": ["ES2017", "DOM", "DOM.Iterable", "ESNext"],
"allowJs": true, "allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true, "esModuleInterop": true,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"module": "ESNext", "strict": true,
"noImplicitOverride": false,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"useDefineForClassFields": true,
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true,
"module": "ES2022",
"moduleResolution": "node", "moduleResolution": "node",
"resolveJsonModule": true, "resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true, "noEmit": true,
"baseUrl": ".",
"incremental": true, "incremental": true,
"noImplicitOverride": false, "listFiles": false,
"composite": true,
"baseUrl": ".",
"paths": { "paths": {
"@graphpolaris/shared/lib/*": ["./lib/*"], "@graphpolaris/shared/lib/*": ["./lib/*"],
"@graphpolaris/config/*": ["../../libs/config/src/*"],
"redux": ["./node_modules/redux"], "redux": ["./node_modules/redux"],
"@storybook/types": ["./node_modules/@storybook/types"], "@storybook/types": ["./node_modules/@storybook/types"],
"redux-thunk": ["./node_modules/redux-thunk"], "redux-thunk": ["./node_modules/redux-thunk"],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment