mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-14 09:37:18 +08:00
Due to bazel rules_nodejs caching, several additional `JSON.parse` usages were not caught in the first set of fixes. These have now been addressed. Also, the `must-use-promises` rule has been patched to match the behavior of the `@typescript-eslint/no-floating-promises` for consistency. The bazel option `suppressTsconfigOverrideWarnings` was also removed from the `tsconfig` as it is a no-op and was previously used for now removed feature. Test files are currently excluded from the `JSON.parse` rule to avoid large changes to test code.
20 lines
585 B
JSON
20 lines
585 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"inlineSourceMap": true,
|
|
"sourceRoot": ".",
|
|
// Inline sources are necessary for our tests to show the proper sources, since we are using
|
|
// Istanbul (not Constantinople) as well, and applying both source maps to get the original
|
|
// source in devtools.
|
|
"inlineSources": true,
|
|
"types": ["node", "jasmine"],
|
|
"plugins": [
|
|
{
|
|
"name": "@bazel/tsetse",
|
|
// TODO: Cleanup tests and remove this rule disable
|
|
"disabledRules": ["must-type-assert-json-parse"]
|
|
}
|
|
]
|
|
}
|
|
}
|