Skip to content

Commit 2e7c6bc

Browse files
committed
fix: remove wrong conditionals
Signed-off-by: hainenber <[email protected]>
1 parent 781b27a commit 2e7c6bc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/rules/prefer-lowercase-title.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,7 @@ export default createRule<
142142
// Ignore *.todo test and/or test suites
143143
if (
144144
ignoreTodos &&
145-
(jestFnCall.name.startsWith('x') ||
146-
jestFnCall.members.some(s => getAccessorValue(s) === 'todo'))
145+
jestFnCall.members.some(s => getAccessorValue(s) === 'todo')
147146
) {
148147
return;
149148
}

0 commit comments

Comments
 (0)