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

Lines changed: 3 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy