33 lines
921 B
JSON
33 lines
921 B
JSON
|
{
|
||
"$schema": "https://json.schemastore.org/tsconfig.json",
|
|||
|
"compilerOptions": {
|
||
"baseUrl": ".",
|
|||
// Migration to strict null checks is in progress.
|
|||
// https://github.com/saleor/saleor-dashboard/issues/2584
|
|||
"strictNullChecks": false,
|
|||
|
"esModuleInterop": true,
|
||
|
"jsx": "react",
|
||
|
"lib": ["es2020", "dom", "esnext"],
|
||
|
"skipLibCheck": true,
|
||
|
"sourceMap": true,
|
||
|
"target": "ES2020",
|
||
"module": "es2020",
|
|||
"moduleResolution": "node",
|
|||
|
"noUnusedLocals": true,
|
||
"noUnusedParameters": true,
|
|||
"downlevelIteration": true,
|
|||
![]()
Enable no implicit this (#2709)
* Enable no implicit this
* Fix this reference in order return utils
|
"noImplicitThis": true,
|
||
|
"alwaysStrict": true,
|
||
|
"strictBindCallApply": true,
|
||
"useUnknownInCatchVariables": true,
|
|||
|
"paths": {
|
||
|
"@assets/*": ["assets/*"],
|
||
|
"@locale/*": ["locale/*"],
|
||
|
"@dashboard/*": ["src/*"],
|
||
|
"@test/*": ["testUtils/*"]
|
||
|
},
|
||
"resolveJsonModule": true
|
|||
|
},
|
||
"exclude": ["node_modules", "cypress"]
|
|||
}
|