mirror of
https://github.com/Microsoft/vscode
synced 2024-10-12 06:17:18 +00:00
enable import-pattern tslint rule
This commit is contained in:
parent
a39eaecd1c
commit
9e01b5901c
|
@ -44,11 +44,15 @@
|
|||
}
|
||||
],
|
||||
"import-patterns": [
|
||||
false,
|
||||
true,
|
||||
{
|
||||
"target": "**/{node,electron-browser,electron-main}/**",
|
||||
"restrictions": "**/*"
|
||||
},
|
||||
{
|
||||
"target": "**/**.test.ts",
|
||||
"restrictions": "{**/vs/**,assert,sinon}"
|
||||
},
|
||||
{
|
||||
"target": "**/{common,browser,workbench}/**",
|
||||
"restrictions": "{**/vs/**,assert}"
|
||||
|
|
Loading…
Reference in a new issue