Skip to content

Commit

Permalink
fix: disable antfu/no-top-level-await for markdown snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Sep 26, 2024
1 parent 04e576c commit a984c89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/configs/markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ export async function markdown(
},
name: 'antfu/markdown/disables',
rules: {
'antfu/no-top-level-await': 'off',

'import/newline-after-import': 'off',

'no-alert': 'off',
Expand All @@ -66,8 +68,8 @@ export async function markdown(
'no-undef': 'off',
'no-unused-expressions': 'off',
'no-unused-labels': 'off',
'no-unused-vars': 'off',

'no-unused-vars': 'off',
'node/prefer-global/process': 'off',
'style/comma-dangle': 'off',

Expand Down

0 comments on commit a984c89

Please sign in to comment.