mirror of
https://github.com/Microsoft/vscode
synced 2024-11-05 18:29:38 +00:00
70 lines
No EOL
1.1 KiB
JSON
70 lines
No EOL
1.1 KiB
JSON
{
|
|
"rules": {
|
|
"no-unused-expression": true,
|
|
"no-duplicate-variable": true,
|
|
"no-unused-variable": true,
|
|
"curly": true,
|
|
"class-name": true,
|
|
"semicolon": [
|
|
"always"
|
|
],
|
|
"triple-equals": true,
|
|
"no-unexternalized-strings": [
|
|
true,
|
|
{
|
|
"signatures": [
|
|
"localize",
|
|
"nls.localize"
|
|
],
|
|
"keyIndex": 0,
|
|
"messageIndex": 1
|
|
}
|
|
],
|
|
"layering": [
|
|
true,
|
|
{
|
|
"common": [],
|
|
"node": [
|
|
"common"
|
|
],
|
|
"browser": [
|
|
"common"
|
|
],
|
|
"electron-main": [
|
|
"common",
|
|
"node"
|
|
],
|
|
"electron-browser": [
|
|
"common",
|
|
"browser",
|
|
"node"
|
|
]
|
|
}
|
|
],
|
|
"import-patterns": [
|
|
true,
|
|
{
|
|
"target": "**/{node,electron-browser,electron-main,extensions}/**",
|
|
"restrictions": "**/*"
|
|
},
|
|
{
|
|
"target": "{**/**.test.ts,**/test/**}",
|
|
"restrictions": "{**/vs/**,assert,sinon}"
|
|
},
|
|
{
|
|
"target": "**/{common,browser,workbench}/**",
|
|
"restrictions": "**/vs/**"
|
|
}
|
|
],
|
|
"duplicate-imports": true,
|
|
"allow-async": [
|
|
true,
|
|
[
|
|
"node",
|
|
"electron-main",
|
|
"electron-browser",
|
|
"extensions"
|
|
]
|
|
]
|
|
}
|
|
} |