@@ -44,13 +44,13 @@ type Options = {
4444 allowArguments ?: boolean
4545 disallowedWords ?: string [ ]
4646 mustNotMatch ?:
47- | Partial < Record < MatcherGroups , string | MatcherAndMessage > >
48- | MatcherAndMessage
49- | string
47+ | Partial < Record < MatcherGroups , string | MatcherAndMessage > >
48+ | MatcherAndMessage
49+ | string
5050 mustMatch ?:
51- | Partial < Record < MatcherGroups , string | MatcherAndMessage > >
52- | MatcherAndMessage
53- | string
51+ | Partial < Record < MatcherGroups , string | MatcherAndMessage > >
52+ | MatcherAndMessage
53+ | string
5454} [ ]
5555
5656type CompiledMatcherAndMessage = [ matcher : RegExp , message ?: string ]
@@ -91,7 +91,7 @@ const compileMatcherPatterns = (matchers:
9191 | Partial < Record < MatcherGroups , string | MatcherAndMessage > >
9292 | MatcherAndMessage
9393 | string ) : Record < MatcherGroups , CompiledMatcherAndMessage | null > &
94- Record < string , CompiledMatcherAndMessage | null > => {
94+ Record < string , CompiledMatcherAndMessage | null > => {
9595 if ( typeof matchers === 'string' || Array . isArray ( matchers ) ) {
9696 const compiledMatcher = compileMatcherPattern ( matchers )
9797
@@ -198,7 +198,7 @@ export default createEslintRule<Options, MESSAGE_IDS>({
198198 if ( vitestFnCall ?. type !== 'describe' && vitestFnCall ?. type !== 'test' && vitestFnCall ?. type !== 'it' ) return
199199
200200 // check if extend keyword have been used
201- if ( vitestFnCall . members . some ( m => m . type == AST_NODE_TYPES . Identifier && m . name == " extend" ) ) return
201+ if ( vitestFnCall . members . some ( m => m . type == AST_NODE_TYPES . Identifier && m . name == ' extend' ) ) return
202202
203203 const [ argument ] = node . arguments
204204
0 commit comments