Skip to content

Commit

Permalink
refactor(prefer-lowercase-title): remove unneeded cast (#1577)
Browse files Browse the repository at this point in the history
Co-authored-by: Hasegawa-Yukihiro <[email protected]>
  • Loading branch information
G-Rath and y-hsgw authored May 2, 2024
1 parent aac5f03 commit 6c1f921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/prefer-lowercase-title.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default createRule<
if (
!firstCharacter ||
firstCharacter === firstCharacter.toLowerCase() ||
ignores.includes(jestFnCall.name as IgnorableFunctionExpressions)
ignores.includes(jestFnCall.name)
) {
return;
}
Expand Down

0 comments on commit 6c1f921

Please sign in to comment.