Skip to content

Commit

Permalink
feat(@angular/cli): add some rules from tslint 4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
cexbrayat authored and filipesilva committed May 5, 2017
1 parent 3ec74e2 commit d482986
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/@angular/cli/blueprints/ng/files/tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"node_modules/codelyzer"
],
"rules": {
"arrow-return-shorthand": true,
"callable-types": true,
"class-name": true,
"comment-format": [
Expand Down Expand Up @@ -42,15 +43,19 @@
],
"no-construct": true,
"no-debugger": true,
"no-duplicate-super": true,
"no-empty": false,
"no-empty-interface": true,
"no-eval": true,
"no-inferrable-types": [true, "ignore-params"],
"no-misused-new": true,
"no-non-null-assertion": true,
"no-shadowed-variable": true,
"no-string-literal": false,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-unnecessary-initializer": true,
"no-unused-expression": true,
"no-use-before-declare": true,
"no-var-keyword": true,
Expand Down

0 comments on commit d482986

Please sign in to comment.