From 6c1f921598729a01652d2be52d874ff8ba3f7032 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Fri, 3 May 2024 11:26:41 +1200 Subject: [PATCH] refactor(prefer-lowercase-title): remove unneeded cast (#1577) Co-authored-by: Hasegawa-Yukihiro --- src/rules/prefer-lowercase-title.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rules/prefer-lowercase-title.ts b/src/rules/prefer-lowercase-title.ts index b87b72581..4b6321b3a 100644 --- a/src/rules/prefer-lowercase-title.ts +++ b/src/rules/prefer-lowercase-title.ts @@ -134,7 +134,7 @@ export default createRule< if ( !firstCharacter || firstCharacter === firstCharacter.toLowerCase() || - ignores.includes(jestFnCall.name as IgnorableFunctionExpressions) + ignores.includes(jestFnCall.name) ) { return; }