Skip to content

Commit 2c52505

Browse files
committed
feat: enable antfu/top-level-function
1 parent a99d50c commit 2c52505

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/configs/javascript.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export function javascript(
4949
],
5050

5151
'antfu/no-top-level-await': 'error',
52+
'antfu/top-level-function': 'error',
5253

5354
'array-callback-return': 'error',
5455
'block-scoped-var': 'error',

0 commit comments

Comments
 (0)