Skip to content

Commit 3597eba

Browse files
committed
style: cs fixes
Signed-off-by: prisis <[email protected]>
1 parent 857d734 commit 3597eba

File tree

1 file changed

+1
-3
lines changed
  • packages/eslint-config/src/config/plugins

1 file changed

+1
-3
lines changed

packages/eslint-config/src/config/plugins/react.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// @see https://github.com/yannickcr/eslint-plugin-react
2-
import { hasAnyDep, pkg, getPackageSubProperty } from "@anolilab/package-json-utils";
2+
import { getPackageSubProperty,hasAnyDep, pkg } from "@anolilab/package-json-utils";
33
import type { Linter } from "eslint";
44
import findUp from "find-up";
55
import { env } from "node:process";
@@ -67,11 +67,9 @@ const hasJsxRuntime = (() => {
6767
return global.hasAnolilabEsLintConfigReactRuntimePath;
6868
})();
6969

70-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment,@typescript-eslint/no-unsafe-call
7170
let reactVersion: string | undefined = getPackageSubProperty<string>("dependencies")("react")
7271

7372
if (reactVersion === undefined) {
74-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment,@typescript-eslint/no-unsafe-call
7573
reactVersion = getPackageSubProperty<string | undefined>("devDependencies")("react");
7674
}
7775

0 commit comments

Comments
 (0)