You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-08-10 17:11:29 +02:00
- typescript checking was not properly working before in src/ directory - https://www.typescriptlang.org/tsconfig/#node16node18nodenext: node18 is the up-to-date module. This picks the module resolution "node16" - https://www.typescriptlang.org/tsconfig/#moduleResolution recommends not using node (node10) in modern code - Update target to ES2024
35 lines
888 B
JSON
35 lines
888 B
JSON
{
|
|
"compilerOptions": {
|
|
// This implicitly sets moduleResolution to "node16"
|
|
// https://www.typescriptlang.org/docs/handbook/modules/theory.html#module-resolution-is-host-defined
|
|
"module": "Node18",
|
|
"target": "ES2024",
|
|
"lib": [
|
|
// https://www.typescriptlang.org/tsconfig/#lib
|
|
// include APIs that are enabled by ES2024
|
|
"ES2024",
|
|
// DOM definitions, window, document, etc.
|
|
"DOM"
|
|
],
|
|
"types": [
|
|
"node",
|
|
"@wdio/globals/types",
|
|
"expect-webdriverio",
|
|
"@wdio/mocha-framework"
|
|
],
|
|
"skipLibCheck": true,
|
|
"noEmit": true,
|
|
"allowImportingTsExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true
|
|
},
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"wdio.conf.ts"
|
|
]
|
|
}
|