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

Commit

Permalink
config: enable stricter config for "no-duplicate-variable" in latest …
Browse files Browse the repository at this point in the history
…an all (#2915)
  • Loading branch information
ajafff authored and adidahiya committed Jun 12, 2017
1 parent 544a5ac commit 43c56dd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/configs/all.ts
Expand Up @@ -98,7 +98,10 @@ export const rules = {
"no-construct": true,
"no-debugger": true,
"no-duplicate-super": true,
"no-duplicate-variable": true,
"no-duplicate-variable": [
true,
"check-parameters",
],
"no-empty": true,
"no-eval": true,
"no-floating-promises": true,
Expand Down
6 changes: 6 additions & 0 deletions src/configs/latest.ts
Expand Up @@ -35,6 +35,12 @@ export const rules = {
// added in v5.3
"prefer-conditional-expression": true,
"prefer-object-spread": true,

// added in v5.4
"no-duplicate-variable": [
true,
"check-parameters",
],
};
// tslint:enable object-literal-sort-keys

Expand Down

0 comments on commit 43c56dd

Please sign in to comment.