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