mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-05 22:19:46 -06:00
* chore: replace dtslint with eslint-plugin-expect-type * update guide * add lint-staged * rm stale script * modify cli eslint and tsconfigs to support ts migration * separate expect-type files * modifications to tsconfigs to make eslint a little easier * revert workflow.yml * further revision * put tslint config for dtslint back in * ensure false negative case is tested * correct tsconfigs * align dtslint tsconfig with eslint 9 config * consolidate / DRY tsconfigs
40 lines
713 B
JSON
40 lines
713 B
JSON
{
|
|
"compilerOptions": {
|
|
"rootDir": "./",
|
|
"outDir": "./dist",
|
|
"target": "ES2022",
|
|
"module": "commonjs",
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"noImplicitAny": false,
|
|
"noEmit": true,
|
|
"types": [
|
|
"mocha"
|
|
]
|
|
},
|
|
"include": [
|
|
"lib/**/*.ts",
|
|
"test/**/*.ts",
|
|
"*.ts"
|
|
],
|
|
"exclude": [
|
|
"types/bluebird",
|
|
"types/chai",
|
|
"types/chai-jquery",
|
|
"types/jquery",
|
|
"types/lodash",
|
|
"types/minimatch",
|
|
"types/mocha",
|
|
"types/sinon",
|
|
"types/sinon-chai",
|
|
"react",
|
|
"vue",
|
|
"angular",
|
|
"svelte",
|
|
"mount-utils",
|
|
]
|
|
}
|