mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Add tslint rules for vs/base/test/common and vs/base/test/browser
This commit is contained in:
parent
e86733e2a0
commit
748ceac184
22
tslint.json
22
tslint.json
|
@ -57,6 +57,16 @@
|
|||
"**/vs/base/common/**"
|
||||
]
|
||||
},
|
||||
{
|
||||
// vs/base/test/common contains tests for vs/base/common
|
||||
"target": "**/vs/base/test/common/**",
|
||||
"restrictions": [
|
||||
"assert",
|
||||
"vs/nls",
|
||||
"**/vs/base/common/**",
|
||||
"**/vs/base/test/common/**"
|
||||
]
|
||||
},
|
||||
{
|
||||
// vs/base/browser can only depend on vs/base/common
|
||||
"target": "**/vs/base/browser/**",
|
||||
|
@ -67,6 +77,18 @@
|
|||
"**/vs/base/browser/**"
|
||||
]
|
||||
},
|
||||
{
|
||||
// vs/base/test/browser contains tests for vs/base/browser
|
||||
"target": "**/vs/base/test/browser/**",
|
||||
"restrictions": [
|
||||
"assert",
|
||||
"vs/nls",
|
||||
"**/vs/base/common/**",
|
||||
"**/vs/base/test/common/**",
|
||||
"**/vs/base/browser/**",
|
||||
"**/vs/base/test/browser/**"
|
||||
]
|
||||
},
|
||||
{
|
||||
"target": "**/vs/editor/contrib/**",
|
||||
"restrictions": [
|
||||
|
|
Loading…
Reference in a new issue