Files
azuredatastudio/tslint.json
Karl Burtram 6ad0df0e3e Refresh master with initial release/0.24 snapshot (#332)
* Initial port of release/0.24 source code

* Fix additional headers

* Fix a typo in launch.json
2017-12-15 15:38:57 -08:00

69 lines
1.2 KiB
JSON

{
"rulesDirectory": [
"build/lib/tslint"
],
"rules": {
"no-string-throw": true,
"no-unused-expression": true,
"no-duplicate-variable": true,
"no-unused-variable": true,
"curly": true,
"class-name": true,
"semicolon": [
true,
"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,
// {{SQL CARBON EDIT}}
{
"target": "**/{node,electron-browser,electron-main,extensions}/**",
"restrictions": "**/*"
},
{
"target": "{**/**.test.ts,**/test/**}",
"restrictions": "{**/vs/**,**/sql/**,**/sqltest/**,assert,sinon,typemoq,data,@angular/**,rxjs/**}"
},
{
"target": "**/{common,browser,workbench}/**",
"restrictions": "**/*"
}
],
"duplicate-imports": true,
"translation-remind": true
}
}