mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
d12d068c37
Introduce two new bazel rules: tsec_test and tsec_config, for describing the tsec checks and the tsconfig file needed for such checks, respectively. Currently, tsec_test only checks the srcs of a ts_library or ng_module. It does not check direct or transitive dependencies. Also, tsconfig files need to be manually maintained to make sure tsec can read all necessary input (including global symbols). PR Close #43108
11 lines
287 B
JSON
11 lines
287 B
JSON
/** Root tsconfig file for checking Angular packages with tsec. */
|
|
{
|
|
"extends": "./tsconfig-build.json",
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"noEmit": true,
|
|
"lib": ["es2017", "dom"],
|
|
"plugins": [{"name": "tsec", "exemptionConfig": "./tsec-exemption.json"}]
|
|
}
|
|
}
|