import type { RuleConfig } from '../rule-config'; /** * Option. */ export interface MatchNameOption { match: { allowName?: string; comment?: string; context?: string; disallowName?: string; message?: string; tags?: string[]; [k: string]: any; }[]; } /** * Options. */ export type MatchNameOptions = [MatchNameOption?]; /** * Reports the name portion of a JSDoc tag if matching or not matching a given regular expression. * * @see [match-name](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/match-name.md#repos-sticky-header) */ export type MatchNameRuleConfig = RuleConfig; /** * Reports the name portion of a JSDoc tag if matching or not matching a given regular expression. * * @see [match-name](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/match-name.md#repos-sticky-header) */ export interface MatchNameRule { /** * Reports the name portion of a JSDoc tag if matching or not matching a given regular expression. * * @see [match-name](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/match-name.md#repos-sticky-header) */ 'jsdoc/match-name': MatchNameRuleConfig; }