Skip to content

Commit

Permalink
fix(node-ts): Disable TS no-unused-vars, gives false positives. Ex. m…
Browse files Browse the repository at this point in the history
…iddle parameter.
  • Loading branch information
andreidmt committed Nov 11, 2020
1 parent baeef10 commit 4b5e7aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions targets/node-ts.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,14 @@ module.exports = {
rules: {
"@typescript-eslint/no-var-requires": "off",

"no-unused-vars": "off",
// disable, it gives false positives. let eslint/no-unused-vars
"@typescript-eslint/no-unused-vars": "off",

"@typescript-eslint/no-unused-vars": [
"no-unused-vars": [
"error",
{
args: "after-used",
varsIgnorePattern: "debug",
},
],
},
Expand Down

0 comments on commit 4b5e7aa

Please sign in to comment.