From 4905bb8ce62aa2a33dd597520bb017922c0600ae 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:19 -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 fbdf551..9e6ffc1 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -28,7 +28,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] }