mirror of
https://github.com/maputnik/editor.git
synced 2025-12-06 06:10:00 +00:00
This PR introduces lint to cypress code, adds drivers to try and abstract the usage of cypress as much as possible. Nothing very interesting, mainly to try out the driver pattern for the e2e tests.
33 lines
909 B
JSON
33 lines
909 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
"types": ["geojson"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true
|
|
},
|
|
"include": ["src", "cypress/e2e"],
|
|
"references": [{ "path": "./tsconfig.node.json" }],
|
|
// TODO: Remove when issue is resolved https://github.com/cypress-io/cypress/issues/27448
|
|
"ts-node": {
|
|
"compilerOptions": {
|
|
"module": "ESNext",
|
|
"moduleResolution": "Node"
|
|
}
|
|
}
|
|
} |