Skip to content

Commit

Permalink
Disabled TS no-undef rule (#7179)
Browse files Browse the repository at this point in the history
  • Loading branch information
andyhopp authored and Timer committed Jun 6, 2019
1 parent f05465e commit 56d1de2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/eslint-config-react-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ module.exports = {
'default-case': 'off',
// 'tsc' already handles this (https://github.com/typescript-eslint/typescript-eslint/issues/291)
'no-dupe-class-members': 'off',
// 'tsc' already handles this (https://github.com/typescript-eslint/typescript-eslint/issues/477)
'no-undef': 'off',

// Add TypeScript specific rules (and turn off ESLint equivalents)
'@typescript-eslint/no-angle-bracket-type-assertion': 'warn',
Expand Down

0 comments on commit 56d1de2

Please sign in to comment.