mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
better import-pattern config
This commit is contained in:
parent
9e01b5901c
commit
b4e4dabed1
|
@ -46,16 +46,16 @@
|
|||
"import-patterns": [
|
||||
true,
|
||||
{
|
||||
"target": "**/{node,electron-browser,electron-main}/**",
|
||||
"target": "**/{node,electron-browser,electron-main,extensions}/**",
|
||||
"restrictions": "**/*"
|
||||
},
|
||||
{
|
||||
"target": "**/**.test.ts",
|
||||
"target": "{**/**.test.ts,**/test/**}",
|
||||
"restrictions": "{**/vs/**,assert,sinon}"
|
||||
},
|
||||
{
|
||||
"target": "**/{common,browser,workbench}/**",
|
||||
"restrictions": "{**/vs/**,assert}"
|
||||
"restrictions": "**/vs/**"
|
||||
}
|
||||
],
|
||||
"duplicate-imports": true
|
||||
|
|
Loading…
Reference in a new issue