Skip to content

Commit 5aa665f

Browse files
committed
exclude functions from before define as they are hoisted
1 parent fd2bc7f commit 5aa665f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ export default defineConfig([
225225
{
226226
rules: {
227227
"no-use-before-define": "off",
228-
"@typescript-eslint/no-use-before-define": "error"
228+
"@typescript-eslint/no-use-before-define": [ "error", {"functions": false}]
229229
}
230230
},
231231

0 commit comments

Comments
 (0)