mirror of
https://github.com/farcasterxyz/hub-monorepo.git
synced 2026-01-28 22:48:07 -05:00
* feat: configure turborepo to run tasks * refactor: set up app/ workspace * fix: move tsconfig up and inherit * fix: update turborepo * refactor: extract flatbuffers to package * fix: ci by using symlink instead of yalc * refactor: extract eslint config * ci: add manypkg to catch package issues * security: remove manypkg due to yarn audit fail * fix: misc changes * refactor: move config into hub * fix: export as module * remove: manypkg postinstall
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
/* Needed to import CJS modules like Jest */
|
|
"allowSyntheticDefaultImports": true,
|
|
|
|
/* Emit additional JS to ease support for importing CJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */
|
|
"esModuleInterop": true,
|
|
|
|
/* Use ESM by default instead of CJS*/
|
|
"module": "ES2022",
|
|
|
|
/* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
|
"target": "es2022",
|
|
|
|
"moduleResolution": "Node",
|
|
"sourceMap": true,
|
|
|
|
"forceConsistentCasingInFileNames": true,
|
|
"skipLibCheck": true,
|
|
|
|
"strict": true,
|
|
"allowUnreachableCode": false,
|
|
"exactOptionalPropertyTypes": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitOverride": true,
|
|
"noImplicitReturns": true,
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noUnusedLocals": false, // causes hard failures when iterating in dev, enforce with eslint instead
|
|
"noUnusedParameters": false
|
|
},
|
|
|
|
"ts-node": {
|
|
"swc": true
|
|
},
|
|
|
|
"exclude": ["node_modules"]
|
|
}
|