From 2335199dc39de5aa6d0513e5e9e166f3e6c555d4 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Fri, 3 Nov 2023 00:02:49 +0900 Subject: [PATCH] fix: disable `import/newline-after-import` in markdown --- src/configs/markdown.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/configs/markdown.ts b/src/configs/markdown.ts index 865f305e0a..0d141f9012 100644 --- a/src/configs/markdown.ts +++ b/src/configs/markdown.ts @@ -37,17 +37,19 @@ export function markdown(options: OptionsComponentExts & OptionsOverrides = {}): 'antfu/no-cjs-exports': 'off', 'antfu/no-ts-export-equal': 'off', + 'import/newline-after-import': 'off', + 'no-alert': 'off', 'no-console': 'off', 'no-undef': 'off', 'no-unused-expressions': 'off', + 'no-unused-vars': 'off', 'node/prefer-global/process': 'off', - 'style/comma-dangle': 'off', - 'style/eol-last': 'off', + 'style/eol-last': 'off', 'ts/consistent-type-imports': 'off', 'ts/no-namespace': 'off', 'ts/no-redeclare': 'off',