Add linters

This commit is contained in:
maxswa
2019-06-13 14:45:34 -04:00
parent 64e64559e1
commit b134e6115f
3 changed files with 3800 additions and 1 deletions

20
tslint.json Normal file
View File

@@ -0,0 +1,20 @@
{
"extends": ["tslint:latest", "tslint-config-prettier"],
"rules": {
"import-name": false,
"indent": [true, "spaces", 2],
"max-line-length": [true, 120],
"ter-arrow-parens": [false],
"strict-boolean-expressions": [false],
"variable-name": [false],
"semicolon": [true, "always", "ignore-bound-class-methods"],
"prefer-array-literal": [false],
"quotemark": [
true,
"single",
"jsx-double",
"avoid-escape",
"avoid-template"
]
}
}