Skip to content

Commit 87f138f

Browse files
committed
fix typo
1 parent 83d89b6 commit 87f138f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/linter/constants.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
export const INTRDOCUED_IN_REGEX = /<!--\s?introduced_in=.*-->/;
3+
export const INTRODUCED_IN_REGEX = /<!--\s?introduced_in=.*-->/;
44

55
export const LLM_DESCRIPTION_REGEX = /<!--\s?llm_description=.*-->/;
66

src/linter/rules/missing-metadata.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { find } from 'unist-util-find';
44
import { findBefore } from 'unist-util-find-before';
55

66
import {
7-
INTRDOCUED_IN_REGEX,
7+
INTRODUCED_IN_REGEX,
88
LINT_MESSAGES,
99
LLM_DESCRIPTION_REGEX,
1010
} from '../constants.mjs';
@@ -25,7 +25,7 @@ const findTopLevelEntry = (node, condition) => {
2525
const METADATA_CHECKS = Object.freeze([
2626
{
2727
name: 'introducedIn',
28-
regex: INTRDOCUED_IN_REGEX,
28+
regex: INTRODUCED_IN_REGEX,
2929
level: 'info',
3030
message: LINT_MESSAGES.missingIntroducedIn,
3131
},

0 commit comments

Comments
 (0)