mirror of
https://github.com/ceph/ceph
synced 2025-02-24 19:47:44 +00:00
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:
parent
bdf866e436
commit
85402d6543
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user