Skip to content

Commit

Permalink
build(eslint): add no-use-before-define to eslint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanharris authored and sgtcoolguy committed Mar 23, 2021
1 parent 6b60f5f commit 8d4a7be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"sourceType": "script"
},
"rules": {
"no-use-before-define": ["error", { "functions": false, "classes": false, "variables": true }],
"promise/catch-or-return": [ "warn", { "terminationMethod": [ "catch", "finally" ]} ]
},
"overrides": [
Expand Down

0 comments on commit 8d4a7be

Please sign in to comment.