Skip to content

Commit 92a37b5

Browse files
committed
fix: add introduced_in regex optional whitespace
1 parent 2e0f167 commit 92a37b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linter/rules/missing-introduced-in.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { LINT_MESSAGES } from '../constants.mjs';
44
import { findTopLevelEntry } from '../utils/find.mjs';
55

6-
const regex = /<!--introduced_in=.*-->/;
6+
const regex = /<!--\s?introduced_in=.*-->/;
77

88
/**
99
* Checks if `introduced_in` field is missing in the top-level entry.

0 commit comments

Comments
 (0)