Skip to content

Commit

Permalink
add tslint
Browse files Browse the repository at this point in the history
  • Loading branch information
bradmartin committed Nov 12, 2018
1 parent dcfed04 commit 174dcf5
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions tslint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"rules": {
"class-name": true,
"comment-format": [true, "check-space"],
"indent": [true, "tabs"],
"no-duplicate-variable": true,
"no-eval": true,
"member-ordering": true,

"member-access": true,
"prefer-const": true,
"no-internal-module": true,
"no-trailing-whitespace": true,
"no-var-keyword": true,
"one-line": [true, "check-open-brace", "check-whitespace"],
"quotemark": [false, "single"],
"semicolon": [true, "always"],
"triple-equals": [true, "allow-null-check"],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"variable-name": [true, "ban-keywords"],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
]
}
}

0 comments on commit 174dcf5

Please sign in to comment.