Skip to content

Commit a3ef871

Browse files
authored
Allowed missing label refs in MD to overcome false positive bug eslint/markdown#294
1 parent 2c599ed commit a3ef871

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eslint.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ export default [
2626
rules: {
2727
...markdown.configs.recommended[0].rules,
2828
'markdown/heading-increment': 'off', // allow headings to skip levels
29-
'markdown/fenced-code-language': 'off' // allow code blocks w/ no language specified
29+
'markdown/fenced-code-language': 'off', // allow code blocks w/ no language specified
30+
'markdown/no-missing-label-refs': 'off' // allow missing label references
3031
}
3132
},
3233
{ files: ['**/*.yaml, **/*.yml'], ...eslintPluginYml.configs['flat/standard'][1] }

0 commit comments

Comments
 (0)