We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5c9b25 commit 7607b7cCopy full SHA for 7607b7c
src/rules/no-expression-statements.ts
@@ -5,7 +5,6 @@ import {
5
} from "@typescript-eslint/utils/json-schema";
6
import { type RuleContext } from "@typescript-eslint/utils/ts-eslint";
7
import { deepmerge } from "deepmerge-ts";
8
-import { isThisKeyword } from "ts-api-utils";
9
10
import tsApiUtils from "#eslint-plugin-functional/conditional-imports/ts-api-utils";
11
import typescript from "#eslint-plugin-functional/conditional-imports/typescript";
@@ -169,7 +168,7 @@ function checkExpressionStatement(
169
168
returnStatements.every(
170
(statement) =>
171
statement.expression !== undefined &&
172
- isThisKeyword(statement.expression),
+ tsApiUtils.isThisKeyword(statement.expression),
173
)
174
) {
175
return {
0 commit comments