Skip to content

Commit bce027a

Browse files
committed
fix: eslint typescript issue with no-use-before-define
See typescript-eslint/typescript-eslint#2502
1 parent 41bf428 commit bce027a

File tree

1 file changed

+2
-0
lines changed
  • packages/eslint-config

1 file changed

+2
-0
lines changed

packages/eslint-config/ts.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ module.exports = {
4040
'import/named': 'off',
4141
'@typescript-eslint/explicit-module-boundary-types': 'off',
4242
'@typescript-eslint/ban-types': 'off',
43+
'@typescript-eslint/no-use-before-define': ['error'],
44+
'no-use-before-define': 'off',
4345
},
4446
settings: {
4547
'import/parsers': {

0 commit comments

Comments
 (0)