Skip to content
Prev Previous commit
Next Next commit
use tsc stronger checks for unused vars
  • Loading branch information
43081j committed Jun 5, 2019
commit 46bb5fdfb5aa39a0f10888cf65f83a1fed8db3c2
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
}],
"@typescript-eslint/no-object-literal-type-assertion": ["error", {
"allowAsParameter": true
}]
}],
"@typescript-eslint/no-unused-vars": "off"
},
"env": {
"es6": true,
Expand Down
2 changes: 2 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"declaration": true,
"declarationDir": "types",
"noImplicitThis": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noEmitOnError": true,
"lib": [
"es5",
Expand Down