From 0b38fd40c76b5c33a7a52d466b94cd4c7a6d4322 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:11 -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 815e735..2a6aa91 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -27,7 +27,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] }