Skip to content

Commit

Permalink
fix: allow func with no-use-before-define bug (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanvale committed Mar 20, 2019
1 parent ee4a57c commit db955b2
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ module.exports = {
// we use prettier instead
'@typescript-eslint/indent': 'off',
'@typescript-eslint/explicit-member-accessibility': 'off',
'@typescript-eslint/no-use-before-define': {
functions: false,
classes: true,
},
'@typescript-eslint/no-use-before-define': [
'error',
{
functions: true,
classes: true,
},
],
},
overrides: [
{
Expand Down

0 comments on commit db955b2

Please sign in to comment.