Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Commit

Permalink
Revert breaking change to tslint:recommended, update tslint:latest (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
adidahiya authored Dec 23, 2018
1 parent 0b63de3 commit 941fa88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/configs/latest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ export const rules = {
"no-duplicate-switch-case": true,
"no-implicit-dependencies": true,
"no-return-await": true,

// added in v5.12
"function-constructor": true,
"unnecessary-bind": true,
};
// tslint:enable object-literal-sort-keys

Expand Down
1 change: 0 additions & 1 deletion src/configs/recommended.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export const rules = {
"cyclomatic-complexity": false,
eofline: true,
forin: true,
"function-constructor": true,
"import-spacing": true,
indent: {
options: ["spaces"],
Expand Down

0 comments on commit 941fa88

Please sign in to comment.