Skip to content

Commit ff9a0aa

Browse files
committed
refactor: minor improvements
1 parent 95996b1 commit ff9a0aa

File tree

16 files changed

+5
-6
lines changed

16 files changed

+5
-6
lines changed

.pkgs/eslint-plugin-local/src/rules/no-shadow-underscore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import type { RuleContext, RuleFeature } from "@eslint-react/shared";
22
import type { TSESTree } from "@typescript-eslint/types";
3+
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
34
import type { CamelCase } from "string-ts";
45

56
import { createRule, isInitializedFromSource } from "../utils";
6-
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
77

88
export const RULE_NAME = "no-shadow-underscore";
99

.pkgs/eslint-plugin-local/src/rules/prefer-eqeq-nullish-comparison.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import type { RuleContext, RuleFeature } from "@eslint-react/shared";
44
import { AST_NODE_TYPES as T } from "@typescript-eslint/utils";
55
import { nullThrows, NullThrowsReasons, type RuleListener } from "@typescript-eslint/utils/eslint-utils";
6-
import type { CamelCase } from "string-ts";
76

87
import { createRule } from "../utils";
98

packages/plugins/eslint-plugin-react-web-api/src/rules/no-leaked-event-listener.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import { AST_NODE_TYPES as T } from "@typescript-eslint/utils";
1010
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
1111
import { isMatching, match, P } from "ts-pattern";
1212

13+
import type { EventListenerEntry } from "../types";
1314
import { createRule, getPhaseKindOfFunction } from "../utils";
14-
import type { EventListenerEntry } from "./../models";
1515

1616
// #region Rule Metadata
1717

packages/plugins/eslint-plugin-react-web-api/src/rules/no-leaked-interval.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { AST_NODE_TYPES as T } from "@typescript-eslint/utils";
88
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
99
import { isMatching, P } from "ts-pattern";
1010

11-
import type { TimerEntry } from "../models";
11+
import type { TimerEntry } from "../types";
1212
import { createRule, getPhaseKindOfFunction } from "../utils";
1313

1414
// #region Rule Metadata

packages/plugins/eslint-plugin-react-web-api/src/rules/no-leaked-resize-observer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import { AST_NODE_TYPES as T } from "@typescript-eslint/utils";
99
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
1010
import { isMatching, match, P } from "ts-pattern";
1111

12+
import type { ObserverEntry, ObserverMethod } from "../types";
1213
import { createRule, getPhaseKindOfFunction } from "../utils";
13-
import type { ObserverEntry, ObserverMethod } from "./../models";
1414

1515
// #region Rule Metadata
1616

packages/plugins/eslint-plugin-react-web-api/src/rules/no-leaked-timeout.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { AST_NODE_TYPES as T } from "@typescript-eslint/utils";
88
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
99
import { isMatching, P } from "ts-pattern";
1010

11-
import type { TimerEntry } from "../models";
11+
import type { TimerEntry } from "../types";
1212
import { createRule, getPhaseKindOfFunction } from "../utils";
1313

1414
// #region Rule Metadata

0 commit comments

Comments
 (0)