From 02ece04138022359c23c30d0a646d4ed588cf9c8 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:09:02 -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 8953a5cb..86a2107c 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -34,7 +34,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] }