mgr/dashboard: add tslint rule to prevent import with more than 1 parent e.g '../../foobar'

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
This commit is contained in:
Đặng Minh Dũng 2020-11-04 11:32:49 +07:00
parent bdf866e436
commit 85402d6543
No known key found for this signature in database
GPG Key ID: 30B00965500D018B

View File

@ -12,7 +12,11 @@
},
"eofline": true,
"forin": true,
"import-blacklist": [true, "rxjs/Rx", {"@angular/core/testing": ["async"]}],
"import-blacklist": [true,
"rxjs/Rx",
{"@angular/core/testing": ["async"]},
["(\\.{1,2}\/){2,}"] // e.g import ../../foobar
],
"import-spacing": true,
"indent": [true, "spaces"],
"interface-over-type-literal": true,