Skip to content

Commit

Permalink
feat: enabling no-unreachable in the TS config
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion committed Nov 17, 2022
1 parent cf63f53 commit 545d65c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/eslint-config/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ module.exports = {
},
],

// TS ESLint plugin disables this and they neither say why, or how to get warned about it.
// https://github.com/typescript-eslint/typescript-eslint/issues/3583
// https://github.com/typescript-eslint/typescript-eslint/issues/1041
'no-unreachable': 'error',

// The stock `no-unused-vars` ESlint rule doesn't play with TS.
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': ['error'],
Expand Down

0 comments on commit 545d65c

Please sign in to comment.