Skip to content

Commit

Permalink
Slightly adjust 'no use before define' rule to ignore functions
Browse files Browse the repository at this point in the history
  • Loading branch information
bennothommo committed Sep 22, 2023
1 parent 45ff2cc commit e880d2a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
"no-plusplus": "off",
"no-param-reassign": ["error", {
"props": false
}],
"no-use-before-define": ["error", {
"functions": false,
"classes": true,
"variables": true,
"allowNamedExports": false
}]
},
"ignorePatterns": [
Expand Down

0 comments on commit e880d2a

Please sign in to comment.