Skip to content

Commit

Permalink
Replace deprecated ts-lint rule no-unused-variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Zalastax committed Oct 25, 2016
1 parent 05e72e5 commit f8aa7eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"compilerOptions": {
"noImplicitAny": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"removeComments": true,
"strictNullChecks": true,
"jsx": "react",
Expand Down
6 changes: 5 additions & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@
"object-literal-sort-keys": false,
"linebreak-style": [true, "LF"],
"indent": [true, "spaces"],
"no-unused-variable": [true, {"ignore-pattern": "^_"}]
"variable-name": [
true,
"check-format",
"allow-leading-underscore"
]
},
"rulesDirectory": [
/*
Expand Down

0 comments on commit f8aa7eb

Please sign in to comment.