vscode/tslint.json

64 lines
1 KiB
JSON
Raw Normal View History

2016-01-14 17:53:55 +01:00
{
"rules": {
2016-01-15 14:45:30 +01:00
"no-unused-expression": true,
"no-duplicate-variable": true,
2016-02-04 16:01:05 +01:00
"no-duplicate-key": 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": [
false,
{
"common": [],
"node": [
"common"
],
"browser": [
"common"
],
2016-11-10 15:33:14 +01:00
"electron-main": [
"common",
2016-11-10 15:33:14 +01:00
"node"
],
"electron-browser": [
"common",
"browser",
"workbench",
"node"
]
}
],
"import-patterns": [
2016-11-11 17:32:51 +01:00
true,
{
"target": "**/{node,electron-browser,electron-main}/**",
"restrictions": "**/*"
},
2016-11-11 17:32:51 +01:00
{
"target": "**/**.test.ts",
"restrictions": "{**/vs/**,assert,sinon}"
},
{
"target": "**/{common,browser,workbench}/**",
"restrictions": "{**/vs/**,assert}"
}
2016-11-11 17:01:55 +01:00
],
"duplicate-imports": true
2016-01-14 17:53:55 +01:00
}
}