Skip to content

Commit f0db6d3

Browse files
committed
fix: update import paths
1 parent 0188755 commit f0db6d3

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

.pkgs/eslint-plugin-local/dist/index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
22

3+
type MessageID = "unexpectedComparison" | "useLooseComparisonSuggestion";
4+
35
declare const _default: {
46
readonly meta: {
57
readonly name: string;
@@ -8,7 +10,7 @@ declare const _default: {
810
readonly rules: {
911
readonly "avoid-multiline-template-expression": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidMultilineTemplateExpression", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1012
readonly "no-shadow-underscore": _typescript_eslint_utils_ts_eslint.RuleModule<"noShadowUnderscore", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
11-
readonly "prefer-eqeq-nullish-comparison": _typescript_eslint_utils_ts_eslint.RuleModule<"unexpectedComparison" | "useLooseComparisonSuggestion", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
13+
readonly "prefer-eqeq-nullish-comparison": _typescript_eslint_utils_ts_eslint.RuleModule<MessageID, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1214
};
1315
};
1416

packages/plugins/eslint-plugin-react-dom/src/rules/no-hydrate.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
import type { RuleFeature } from "@eslint-react/kit";
1+
import type { RuleContext, RuleFeature } from "@eslint-react/kit";
22
import { getSettingsFromContext } from "@eslint-react/shared";
33
import type { TSESTree } from "@typescript-eslint/types";
44
import { AST_NODE_TYPES as T } from "@typescript-eslint/types";
55
import type { RuleFixer, RuleListener } from "@typescript-eslint/utils/ts-eslint";
66
import { compare } from "compare-versions";
77
import type { CamelCase } from "string-ts";
88

9-
import type { RuleContext } from "../../../../shared/src/types";
109
import { createRule } from "../utils";
1110

1211
export const RULE_NAME = "no-hydrate";

packages/plugins/eslint-plugin-react-dom/src/rules/no-render.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
import type { RuleFeature } from "@eslint-react/kit";
1+
import type { RuleContext, RuleFeature } from "@eslint-react/kit";
22
import { getSettingsFromContext } from "@eslint-react/shared";
33
import type { TSESTree } from "@typescript-eslint/types";
44
import { AST_NODE_TYPES as T } from "@typescript-eslint/types";
55
import type { RuleFixer, RuleListener } from "@typescript-eslint/utils/ts-eslint";
66
import { compare } from "compare-versions";
77
import type { CamelCase } from "string-ts";
88

9-
import type { RuleContext } from "../../../../shared/src/types";
109
import { createRule } from "../utils";
1110

1211
export const RULE_NAME = "no-render";

packages/plugins/eslint-plugin-react-dom/src/rules/no-use-form-state.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
import type { RuleFeature } from "@eslint-react/kit";
1+
import type { RuleContext, RuleFeature } from "@eslint-react/kit";
22
import { getSettingsFromContext } from "@eslint-react/shared";
33
import type { TSESTree } from "@typescript-eslint/types";
44
import { AST_NODE_TYPES as T } from "@typescript-eslint/types";
55
import type { RuleFixer, RuleListener } from "@typescript-eslint/utils/ts-eslint";
66
import { compare } from "compare-versions";
77
import type { CamelCase } from "string-ts";
88

9-
import type { RuleContext } from "../../../../shared/src/types";
109
import { createRule } from "../utils";
1110

1211
export const RULE_NAME = "no-use-form-state";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export * from "./constants";
22
export * from "./create-report";
33
export * from "./env";
4-
export * from "./rule";
4+
export type * from "./rule";

0 commit comments

Comments
 (0)