Skip to content

Commit 22a995f

Browse files
committed
chore: remove ESLint disable before @ts-expect-error comment
Since @typescript-eslint/[email protected], the `ban-ts-comment` rule was changed to `allow-with-description`, so the ESLint disable is not needed anymore.
1 parent b10ada5 commit 22a995f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/function-rule.test.ts

-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ describe('functionRule', (): void => {
8787

8888
it("throws an error when 'value' is 'not an function'", () => {
8989
expect(() => {
90-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
9190
// @ts-expect-error: TS2345: Argument of type ... is not assignable to parameter of type ...
9291
functionRule(commit, when, 'not a function!');
9392
}).toThrow();

0 commit comments

Comments
 (0)