mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Better TS Lint import enforcement rules for vs/base and vs/editor/contrib
This commit is contained in:
parent
2f7da22b04
commit
0287c3cb40
17
tslint.json
17
tslint.json
|
@ -46,6 +46,23 @@
|
|||
],
|
||||
"import-patterns": [
|
||||
true,
|
||||
{
|
||||
"target": "**/vs/base/common/**",
|
||||
"restrictions": [
|
||||
"vs/nls",
|
||||
"**/vs/base/common/**"
|
||||
]
|
||||
},
|
||||
{
|
||||
"target": "**/vs/editor/contrib/**",
|
||||
"restrictions": [
|
||||
"**/vs/css!./**/*",
|
||||
"**/vs/nls",
|
||||
"**/vs/{base,platform}/**/{common,browser}/**",
|
||||
"**/vs/editor/**",
|
||||
"assert"
|
||||
]
|
||||
},
|
||||
{
|
||||
"target": "**/{node,electron-browser,electron-main,extensions}/**",
|
||||
"restrictions": "**/*"
|
||||
|
|
Loading…
Reference in a new issue