angular-cli/tsconfig-test.json
Charles Lyding 17e168379e build: additional fixes for tsetse rule compliance
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.
2024-06-25 11:17:33 -04:00

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"]
}
]
}
}