{ /** * This configuration is intended for the `scripts/` directory, both for linting and for editor * TypeScript-related features. * * It's currently not actually used for that purpose, but it will be in a future PR. * * This is also extended by the `tsconfig.json` file in `scripts/create-package/`, which _is_ * actively used to support TypeScript-related editor features in that directory. */ "extends": "./tsconfig.base.json", "compilerOptions": { "exactOptionalPropertyTypes": true, "forceConsistentCasingInFileNames": true, "lib": ["ES2022"], "noEmit": true, "noErrorTruncation": true, "noUncheckedIndexedAccess": true, "types": ["node"], "paths": { "@metamask/error-utils": ["./packages/error-utils/src/index.ts"], "@metamask/node-utils": ["./packages/node-utils/src/index.ts"], "@metamask/type-utils": ["./packages/type-utils/src/index.ts"] } }, "include": ["./scripts/**/*.ts", "./scripts/**/*.mts"], "exclude": ["**/node_modules"] }