Skip to content

Commit

Permalink
chore(typescript): Disable incorrect no-unused-vars check (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmulholland authored Jan 18, 2021
1 parent 61c7862 commit 15f4f4f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/eslint-config-typescript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ module.exports = {
parser: '@typescript-eslint/parser'
},
rules: {
'@typescript-eslint/no-unused-vars': ['error', { args: 'all', argsIgnorePattern: '^_' }]
'@typescript-eslint/no-unused-vars': ['error', { args: 'all', argsIgnorePattern: '^_' }],
// Per the docs, the root no-unused-vars should be disabled:
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unused-vars.md
'no-unused-vars': 'off'
}
}

0 comments on commit 15f4f4f

Please sign in to comment.