Skip to content

Commit

Permalink
fix: [no-use-before-define] Disable eslint version
Browse files Browse the repository at this point in the history
This config replaces several ESLint rules with @typescript-eslint equivalents, but it missed `no-use-before-define`.
  • Loading branch information
swansontec committed Aug 14, 2019
1 parent 2cbe220 commit 9d9c792
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ test('export', (t): void => {
'no-array-constructor': 'off',
'no-undef': 'off',
'no-unused-vars': 'off',
'no-use-before-define': 'off',
'no-useless-constructor': 'off',
'@typescript-eslint/adjacent-overload-signatures': 'error',
'@typescript-eslint/array-type': ['error', 'array-simple'],
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export = {
indent: 'off',
'no-array-constructor': 'off',
'no-unused-vars': 'off',
'no-use-before-define': 'off',
'no-useless-constructor': 'off',

// @typescript-eslint versions of Standard.js rules:
Expand Down

0 comments on commit 9d9c792

Please sign in to comment.