vscode/tslint.json

62 lines
1,004 B
JSON
Raw Normal View History

2016-01-14 16:53:55 +00:00
{
"rules": {
2016-01-15 13:45:30 +00:00
"no-unused-expression": true,
"no-duplicate-variable": true,
2016-02-04 15:01:05 +00:00
"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": [
2016-11-11 16:42:29 +00:00
true,
{
"common": [],
"node": [
"common"
],
"browser": [
"common"
],
2016-11-10 14:33:14 +00:00
"electron-main": [
"common",
2016-11-10 14:33:14 +00:00
"node"
],
"electron-browser": [
"common",
"browser",
"node"
]
}
],
"import-patterns": [
2016-11-11 16:32:51 +00:00
true,
{
2016-11-11 16:40:46 +00:00
"target": "**/{node,electron-browser,electron-main,extensions}/**",
"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}"
},
{
"target": "**/{common,browser,workbench}/**",
2016-11-11 16:40:46 +00:00
"restrictions": "**/vs/**"
}
2016-11-11 16:01:55 +00:00
],
"duplicate-imports": true
2016-01-14 16:53:55 +00:00
}
}