blob: 1b1fef5b890a10df774c6d55186ae8f47c681553 [file] [log] [blame]
{
"compilerOptions": {
"plugins": [{
"name": "ts-lit-plugin",
"strict": true,
"securitySystem": "ClosureSafeTypes",
"rules": {
"no-unknown-tag-name": "warning",
"no-unclosed-tag": "warning",
"no-unknown-property": "warning",
"no-unintended-mixed-binding": "warning",
"no-invalid-boolean-binding": "warning",
"no-expressionless-property-binding": "warning",
"no-noncallable-event-binding": "warning",
"no-boolean-in-attribute-binding": "warning",
"no-complex-attribute-binding": "warning",
"no-nullable-attribute-binding": "warning",
"no-incompatible-type-binding": "warning",
"no-invalid-directive-binding": "warning",
"no-incompatible-property-type": "warning",
"no-unknown-property-converter": "warning",
"no-invalid-attribute-name": "warning",
"no-invalid-tag-name": "warning",
"no-missing-import": "off",
"no-unknown-attribute": "off",
"no-unknown-event": "off",
"no-unknown-slot": "off",
"no-invalid-css": "off"
}
}],
"allowJs": true,
"esModuleInterop": true,
"module": "commonjs",
"lib": ["DOM", "ES2017"],
"noImplicitAny": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"inlineSourceMap": true,
"inlineSources": true,
"strict": true,
"target": "es2017",
"declaration": true
},
"types": [
"google.visualization"
],
"exclude": [
// Exclude the //_bazel_* symlinks. This Prevents the following VSCode error:
//
// To enable project-wide JavaScript/TypeScript language features, exclude large folders
// with source files that you do not work on.
//
// The below excludes do not affect the Bazel build because these paths are not visible to
// build actions.
"./_bazel_bin",
"./_bazel_buildbot",
"./_bazel_out",
"./_bazel_testlogs",
// Excluding this directory prevents errors such as:
//
// error TS5055: Cannot write file '[...]/bazel-out/[...]/external/[...]/example.js'
// because it would overwrite input file.
//
// Note that this directory is generated by Bazel under "_bazel_out".
"./external",
// TypeScript files under this directory are Go templates and thus do not compile.
"./new_element/templates",
"node_modules",
"dist",
"build"
]
}