mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-06 14:24:04 -05:00
better import-pattern config
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user