Commit adfcb134 authored by Wyatt Barnes's avatar Wyatt Barnes

Update tsconfig to be stricter. Add @swc/core devDep

parent 42955449
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
}, },
"devDependencies": { "devDependencies": {
"@eth-optimism/contracts-ts": "workspace:^", "@eth-optimism/contracts-ts": "workspace:^",
"@swc/core": "^1.3.74",
"@vitest/coverage-istanbul": "^0.33.0", "@vitest/coverage-istanbul": "^0.33.0",
"tsup": "^7.1.0", "tsup": "^7.1.0",
"typescript": "^5.1.6", "typescript": "^5.1.6",
......
...@@ -3,13 +3,30 @@ ...@@ -3,13 +3,30 @@
"compilerOptions": { "compilerOptions": {
"outDir": "./dist", "outDir": "./dist",
"baseUrl": "./src", "baseUrl": "./src",
"strict": true, "noEmit": true,
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "node",
"jsx": "react",
"target": "ESNext", "target": "ESNext",
"noEmit": true "lib": ["esnext"],
"module": "esnext",
"moduleResolution": "Node",
"isolatedModules": true,
"incremental": true,
"allowUnreachableCode": false,
"skipLibCheck": false,
"allowUnusedLabels": false,
"alwaysStrict": true,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitOverride": true,
"noImplicitThis": true,
"forceConsistentCasingInFileNames": true,
"verbatimModuleSyntax": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strict": true
}, },
"include": ["./src"] "include": ["./src"]
} }
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment