gristlabs_grist-core/buildtools/tsconfig-base.json
Dmitry S 526b0ad33e (core) Configure more comprehensive eslint rules for Typescript
Summary:
- Update rules to be more like we've had with tslint
- Switch tsserver plugin to eslint (tsserver makes for a much faster way to lint in editors)
- Apply suggested auto-fixes
- Fix all lint errors and warnings in core/, app/, test/

Test Plan: Some behavior may change subtly (e.g. added missing awaits), relying on existing tests to catch problems.

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D2785
2021-04-26 18:54:55 -04:00

31 lines
633 B
JSON

{
"compilerOptions": {
"target": "es2016",
"module": "commonjs",
"strict": true,
"strictPropertyInitialization": false,
"sourceMap": true,
"noImplicitAny": true,
"noUnusedLocals": true,
"moduleResolution": "node",
"allowJs": true,
"baseUrl": "..",
"rootDir": "..",
"outDir": "../_build",
"paths": {
"*": [
"*",
"grist-core/*",
"stubs/*"
],
},
"composite": true,
"plugins": [{
"name": "typescript-eslint-language-service"
}],
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"jsx": "react"
}
}