feature/feat-improve-ts-setup #1812
|
@ -6,12 +6,12 @@
|
|||
"composite": true,
|
||||
"baseUrl": ".",
|
||||
|
||||
// "importHelpers": true,
|
||||
"importHelpers": true,
|
||||
dpschen marked this conversation as resolved
Outdated
|
||||
"sourceMap": true,
|
||||
"strictNullChecks": true,
|
||||
// "allowJs": true,
|
||||
// "allowSyntheticDefaultImports": true,
|
||||
dpschen marked this conversation as resolved
Outdated
dpschen
commented
I was not sure about these options. I was not sure about these options.
The latter should probably be enabled.
konrad
commented
Does the linter still pass when it is enabled? Does the linter still pass when it is enabled?
dpschen
commented
This only affects tslint.
If we need to we can still use js if we disable the rule for that line. This only affects tslint.
I googled a bit and I think I would use the following:
```
"importHelpers": true,
"sourceMap": true,
"strictNullChecks": true,
// "allowJs": true,
// "allowSyntheticDefaultImports": true,
```
If we need to we can still use js if we disable the rule for that line.
It seems good to have `allowSyntheticDefaultImports` disabled
dpschen
commented
Changed. Changed.
Anything else missing for the merge?
konrad
commented
I think this should be fine. I think this should be fine.
|
||||
// "sourceMap": true,
|
||||
// "strictNullChecks": true,
|
||||
|
||||
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
}
|
||||
|
|
Reference in New Issue
Isn't this invalid json with the
//
?Yes: