From b2f35fab0dd1b7a44711c26511124157d182b01d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Lui=20=E5=88=98=E5=B1=95=E9=B9=8F?= Date: Tue, 12 Nov 2024 18:14:29 -0800 Subject: [PATCH] Allowed missing label refs in MD to overcome false positive bug eslint/markdown#294 --- eslint.config.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 2d930bc..2b9f538 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -30,7 +30,8 @@ export default [ rules: { ...markdown.configs.recommended[0].rules, 'markdown/heading-increment': 'off', // allow headings to skip levels - 'markdown/fenced-code-language': 'off' // allow code blocks w/ no language specified + 'markdown/fenced-code-language': 'off', // allow code blocks w/ no language specified + 'markdown/no-missing-label-refs': 'off' // allow missing label references } }, { files: ['**/*.yaml, **/*.yml'], ...eslintPluginYml.configs['flat/standard'][1] }