Skip to content

Commit

Permalink
configure TSLint to use tslint-eslint-rules
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegKi committed Sep 17, 2017
1 parent 6a980f0 commit d1dcbd8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"node_modules/vrsource-tslint-rules/rules",
"node_modules/tslint-eslint-rules/dist/rules"
],
"extends": [
"tslint-eslint-rules"
],
"rules": {
"no-console": [true, "log"],
"no-duplicate-imports": true,
Expand All @@ -11,6 +14,7 @@
"no-var-keyword": true,
"semicolon": [true],
"variable-name": [true, "ban-keywords"],
"no-inner-declarations": [true, "function"]
"no-inner-declarations": [true, "function"],
"no-constant-condition": true
}
}

0 comments on commit d1dcbd8

Please sign in to comment.