Skip to content

Commit

Permalink
feat: enable antfu/top-level-function
Browse files Browse the repository at this point in the history
  • Loading branch information
coderwyd committed Sep 27, 2024
1 parent a99d50c commit 2c52505
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/configs/javascript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export function javascript(
],

'antfu/no-top-level-await': 'error',
'antfu/top-level-function': 'error',

'array-callback-return': 'error',
'block-scoped-var': 'error',
Expand Down

0 comments on commit 2c52505

Please sign in to comment.