Skip to content

Commit

Permalink
fix(lint): use noUnusedParameters and noUnusedLocals instead of no-un…
Browse files Browse the repository at this point in the history
…used-variabl (#3945)

Running npm lint yielded this warning:

no-unused-variable is deprecated. Use the tsc compiler options --noUnusedParameters and --noUnusedLocals instead.
  • Loading branch information
beeman authored and hansl committed Jan 12, 2017
1 parent 3c82b77 commit dd378fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"moduleResolution": "node",
"noEmitOnError": true,
"noImplicitAny": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"outDir": "./dist",
"rootDir": ".",
"sourceMap": true,
Expand Down
1 change: 0 additions & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"no-trailing-whitespace": true,
"no-bitwise": true,
"no-unused-expression": true,
"no-unused-variable": true,
"no-var-keyword": true,
"one-line": [
true,
Expand Down

0 comments on commit dd378fe

Please sign in to comment.