Skip to content

Commit 2075585

Browse files
committed
Replace no-unused-variable rule with TS compiler option
1 parent de6021e commit 2075585

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎tsconfig.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
"module": "commonjs",
44
"target": "es6",
55
"outDir": "out",
6+
"noUnusedParameters": true,
7+
"noUnusedLocals": true,
68
"experimentalDecorators": true,
79
"lib": [
810
"es2016"

‎tslint.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
],
1717
"no-duplicate-variable": true,
1818
"no-trailing-whitespace": true,
19-
"no-unused-variable": true,
2019
"no-unused-expression": true,
2120
"no-var-keyword": true,
2221
"one-line": [

0 commit comments

Comments
 (0)