2016-01-14 16:53:55 +00:00
|
|
|
{
|
|
|
|
"rules": {
|
2016-01-15 13:45:30 +00:00
|
|
|
"no-unused-expression": true,
|
2016-01-21 09:22:52 +00:00
|
|
|
"no-duplicate-variable": true,
|
2016-02-04 15:01:05 +00:00
|
|
|
"no-duplicate-key": true,
|
|
|
|
"no-unused-variable": true,
|
|
|
|
"curly": true,
|
|
|
|
"class-name": true,
|
2016-11-10 11:40:19 +00:00
|
|
|
"semicolon": [
|
|
|
|
"always"
|
|
|
|
],
|
2016-02-17 22:04:32 +00:00
|
|
|
"triple-equals": true,
|
|
|
|
"no-unexternalized-strings": [
|
|
|
|
true,
|
|
|
|
{
|
2016-11-10 11:40:19 +00:00
|
|
|
"signatures": [
|
|
|
|
"localize",
|
|
|
|
"nls.localize"
|
|
|
|
],
|
2016-02-17 22:04:32 +00:00
|
|
|
"keyIndex": 0,
|
|
|
|
"messageIndex": 1
|
|
|
|
}
|
2016-11-10 11:40:19 +00:00
|
|
|
],
|
|
|
|
"layering": [
|
|
|
|
false,
|
|
|
|
{
|
|
|
|
"common": [],
|
|
|
|
"node": [
|
|
|
|
"common"
|
|
|
|
],
|
|
|
|
"browser": [
|
|
|
|
"common"
|
|
|
|
],
|
2016-11-10 14:33:14 +00:00
|
|
|
"electron-main": [
|
2016-11-10 11:40:19 +00:00
|
|
|
"common",
|
2016-11-10 14:33:14 +00:00
|
|
|
"node"
|
2016-11-10 11:40:19 +00:00
|
|
|
],
|
|
|
|
"electron-browser": [
|
|
|
|
"common",
|
|
|
|
"browser",
|
|
|
|
"workbench",
|
|
|
|
"node"
|
|
|
|
]
|
|
|
|
}
|
2016-11-10 14:22:37 +00:00
|
|
|
],
|
|
|
|
"import-patterns": [
|
2016-11-11 16:32:51 +00:00
|
|
|
true,
|
2016-11-10 14:22:37 +00:00
|
|
|
{
|
2016-11-11 16:40:46 +00:00
|
|
|
"target": "**/{node,electron-browser,electron-main,extensions}/**",
|
2016-11-10 14:22:37 +00:00
|
|
|
"restrictions": "**/*"
|
|
|
|
},
|
2016-11-11 16:32:51 +00:00
|
|
|
{
|
2016-11-11 16:40:46 +00:00
|
|
|
"target": "{**/**.test.ts,**/test/**}",
|
2016-11-11 16:32:51 +00:00
|
|
|
"restrictions": "{**/vs/**,assert,sinon}"
|
|
|
|
},
|
2016-11-10 14:22:37 +00:00
|
|
|
{
|
|
|
|
"target": "**/{common,browser,workbench}/**",
|
2016-11-11 16:40:46 +00:00
|
|
|
"restrictions": "**/vs/**"
|
2016-11-10 14:22:37 +00:00
|
|
|
}
|
2016-11-11 16:01:55 +00:00
|
|
|
],
|
|
|
|
"duplicate-imports": true
|
2016-01-14 16:53:55 +00:00
|
|
|
}
|
2016-11-10 11:40:19 +00:00
|
|
|
}
|