Vim/tslint.json
Jason Fields 5a2dc0210d Simplify tslint.json by extending tslint:recommended
As a side-effect, our linting just got substantially stricter, and this had to be a pretty wide-reaching change to comply. Sorry if this complicates any merges!
2021-03-05 20:20:44 -05:00

17 lines
526 B
JSON

{
"extends": "tslint:recommended",
"rules": {
"array-type": { "options": "array-simple" },
"await-promise": [true, "Thenable"],
"max-classes-per-file": false,
"no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
"no-duplicate-variable": true,
"no-namespace": false,
"no-parameter-properties": true,
"no-return-await": true,
"no-switch-case-fall-through": true,
"no-unnecessary-type-assertion": true,
"prefer-const": { "options": { "destructuring": "all" } }
}
}