summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/tslint.json
diff options
context:
space:
mode:
authorTiago Melo <tmelo@suse.com>2020-07-13 15:54:32 +0200
committerTiago Melo <tmelo@suse.com>2020-07-16 13:09:02 +0200
commit15d1e11bb504a6fe97ff5446ed98c415135b907f (patch)
treee027a9aee599c2fdf5131452b1569e54e692792a /src/pybind/mgr/dashboard/frontend/tslint.json
parentMerge pull request #36103 from dillaman/wip-44311 (diff)
downloadceph-15d1e11bb504a6fe97ff5446ed98c415135b907f.tar.xz
ceph-15d1e11bb504a6fe97ff5446ed98c415135b907f.zip
mgr/dashboard: Block the import of async from @angular/core/testing
We no longer need this and it was causing unexpected results in some tests. Fixes: https://tracker.ceph.com/issues/46500 Signed-off-by: Tiago Melo <tmelo@suse.com>
Diffstat (limited to '')
-rw-r--r--src/pybind/mgr/dashboard/frontend/tslint.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/tslint.json b/src/pybind/mgr/dashboard/frontend/tslint.json
index 5136dc651af..ff81249e78e 100644
--- a/src/pybind/mgr/dashboard/frontend/tslint.json
+++ b/src/pybind/mgr/dashboard/frontend/tslint.json
@@ -12,7 +12,7 @@
},
"eofline": true,
"forin": true,
- "import-blacklist": [true, "rxjs/Rx"],
+ "import-blacklist": [true, "rxjs/Rx", {"@angular/core/testing": ["async"]}],
"import-spacing": true,
"indent": [true, "spaces"],
"interface-over-type-literal": true,