Skip to content

Commit a984c89

Browse files
committed
fix: disable antfu/no-top-level-await for markdown snippets
1 parent 04e576c commit a984c89

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/configs/markdown.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ export async function markdown(
5656
},
5757
name: 'antfu/markdown/disables',
5858
rules: {
59+
'antfu/no-top-level-await': 'off',
60+
5961
'import/newline-after-import': 'off',
6062

6163
'no-alert': 'off',
@@ -66,8 +68,8 @@ export async function markdown(
6668
'no-undef': 'off',
6769
'no-unused-expressions': 'off',
6870
'no-unused-labels': 'off',
69-
'no-unused-vars': 'off',
7071

72+
'no-unused-vars': 'off',
7173
'node/prefer-global/process': 'off',
7274
'style/comma-dangle': 'off',
7375

0 commit comments

Comments
 (0)