Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pkgs/eslint-plugin-local/dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CompatiblePlugin } from "@eslint-react/kit";
import { CompatiblePlugin } from "@eslint-react/shared";

//#region src/index.d.ts
declare const plugin: CompatiblePlugin;
Expand Down
1 change: 0 additions & 1 deletion .pkgs/eslint-plugin-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"dependencies": {
"@eslint-react/ast": "workspace:*",
"@eslint-react/eff": "workspace:*",
"@eslint-react/kit": "workspace:*",
"@eslint-react/shared": "workspace:*",
"@eslint-react/var": "workspace:*",
"@eslint/js": "^9.37.0",
Expand Down
2 changes: 1 addition & 1 deletion .pkgs/eslint-plugin-local/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { name, version } from "../package.json";

import type { CompatiblePlugin } from "@eslint-react/kit";
import type { CompatiblePlugin } from "@eslint-react/shared";

import avoidMultilineTemplateExpression from "./rules/avoid-multiline-template-expression";
import preferEqeqNullishComparison from "./rules/prefer-eqeq-nullish-comparison";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as AST from "@eslint-react/ast";
import type { RuleContext, RuleFeature } from "@eslint-react/kit";
import type { RuleContext, RuleFeature } from "@eslint-react/shared";
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
import type { CamelCase } from "string-ts";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Ported from: https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin-internal/src/rules/eqeq-nullish.ts

import type { RuleContext, RuleFeature } from "@eslint-react/kit";
import type { RuleContext, RuleFeature } from "@eslint-react/shared";
import { AST_NODE_TYPES as T } from "@typescript-eslint/utils";
import { NullThrowsReasons, type RuleListener, nullThrows } from "@typescript-eslint/utils/eslint-utils";

Expand Down
6 changes: 0 additions & 6 deletions apps/website/content/docs/contributing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ flowchart TB
subgraph "Utilities Modules"
AST["AST Module"]:::utilities
Eff["Eff Module"]:::utilities
Kit["Kit Module"]:::utilities
Var["Var Module"]:::utilities
end

Expand Down Expand Up @@ -68,12 +67,10 @@ flowchart TB
%% Utilities used by Core and Plugins
AST ---|"provides"| Core
Eff ---|"provides"| Core
Kit ---|"provides"| Core
Var ---|"provides"| Core

AST ---|"provides"| ReactX
Eff ---|"provides"| ReactX
Kit ---|"provides"| ReactX
Var ---|"provides"| ReactX

%% Aggregation of Plugins
Expand All @@ -92,7 +89,6 @@ flowchart TB
Scripts -->|"CI/CD"| Shared
Scripts -->|"CI/CD"| AST
Scripts -->|"CI/CD"| Eff
Scripts -->|"CI/CD"| Kit
Scripts -->|"CI/CD"| Var
Scripts -->|"CI/CD"| ReactX
Scripts -->|"CI/CD"| ReactDOM
Expand All @@ -109,7 +105,6 @@ flowchart TB
click Shared "https://github.com/rel1cx/eslint-react/tree/main/packages/shared"
click AST "https://github.com/rel1cx/eslint-react/tree/main/packages/utilities/ast"
click Eff "https://github.com/rel1cx/eslint-react/tree/main/packages/utilities/eff"
click Kit "https://github.com/rel1cx/eslint-react/tree/main/packages/utilities/kit"
click Var "https://github.com/rel1cx/eslint-react/tree/main/packages/utilities/var"
click ReactX "https://github.com/rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x"
click ReactDOM "https://github.com/rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom"
Expand Down Expand Up @@ -143,7 +138,6 @@ This section provides a summary of the packages in the monorepo.
- `packages/utilities/eff`: JavaScript and TypeScript utilities (previously some re-exports of the `effect` library)
- `packages/utilities/ast`: TSESTree AST utility module for static analysis
- `packages/utilities/var`: TSESTree AST utility module for static analysis of variables
- `packages/utilities/kit`: ESLint React's plugin kit for building plugins and rules
- **Core & Shared**
- `packages/core`: Utility module for static analysis of React core APIs and patterns
- `packages/shared`: Shared constants, types and functions
Expand Down
1 change: 0 additions & 1 deletion apps/website/content/docs/faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import { Accordion, Accordions } from "fumadocs-ui/components/accordion";
- `@eslint-react/eff`: JavaScript and TypeScript utilities (previously some re-exports of the `effect` library).
- `@eslint-react/ast`: TSESTree AST utility module.
- `@eslint-react/var`: TSESTree AST utility module for static analysis of variables.
- `@eslint-react/kit`: ESLint React's plugin kit for building plugins and rules.
- **Core & Shared Modules**
- `@eslint-react/core`: Utility module for static analysis of React core APIs and patterns.
- `@eslint-react/shared`: Shared constants, types and functions.
Expand Down
1 change: 0 additions & 1 deletion apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"devDependencies": {
"@effect/language-service": "^0.44.0",
"@eslint-react/eslint-plugin": "workspace:*",
"@eslint-react/kit": "workspace:*",
"@eslint-react/shared": "workspace:*",
"@eslint/js": "^9.37.0",
"@local/configs": "workspace:*",
Expand Down
1 change: 0 additions & 1 deletion examples/with-ts-blank-eslint-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"devDependencies": {
"@eslint-react/eslint-plugin": "workspace:*",
"@eslint-react/kit": "workspace:*",
"@eslint-react/shared": "workspace:*",
"@eslint/config-inspector": "^1.3.0",
"@eslint/js": "^9.37.0",
Expand Down
1 change: 0 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"dependencies": {
"@eslint-react/ast": "workspace:*",
"@eslint-react/eff": "workspace:*",
"@eslint-react/kit": "workspace:*",
"@eslint-react/shared": "workspace:*",
"@eslint-react/var": "workspace:*",
"@typescript-eslint/scope-manager": "^8.46.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/component/component-children.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { RuleContext } from "@eslint-react/kit";
import type { RuleContext } from "@eslint-react/shared";
import type { TSESTree } from "@typescript-eslint/types";
import { AST_NODE_TYPES as T } from "@typescript-eslint/types";
import { isCreateElementCall } from "../utils/is-react-api";
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/component/component-collector.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as AST from "@eslint-react/ast";
import { unit } from "@eslint-react/eff";
import { type RuleContext } from "@eslint-react/kit";
import { type RuleContext } from "@eslint-react/shared";
import { getId } from "@eslint-react/shared";
import type { TSESTree } from "@typescript-eslint/types";
import { AST_NODE_TYPES as T } from "@typescript-eslint/types";
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/component/component-definition.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as AST from "@eslint-react/ast";
import { type RuleContext } from "@eslint-react/kit";
import { type RuleContext } from "@eslint-react/shared";
import { AST_NODE_TYPES as T } from "@typescript-eslint/types";
import { P, isMatching } from "ts-pattern";
import { isChildrenOfCreateElement } from "./component-children";
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/component/component-id.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as AST from "@eslint-react/ast";
import { unit } from "@eslint-react/eff";
import type { RuleContext } from "@eslint-react/kit";
import type { RuleContext } from "@eslint-react/shared";
import type { TSESTree } from "@typescript-eslint/types";
import { AST_NODE_TYPES as T } from "@typescript-eslint/types";
import { isComponentWrapperCallLoose } from "./component-wrapper";
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/component/component-name.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type * as AST from "@eslint-react/ast";
import { unit } from "@eslint-react/eff";
import { RE_COMPONENT_NAME, RE_COMPONENT_NAME_LOOSE, type RuleContext } from "@eslint-react/kit";
import { RE_COMPONENT_NAME, RE_COMPONENT_NAME_LOOSE, type RuleContext } from "@eslint-react/shared";
import type { TSESTree } from "@typescript-eslint/types";

import { getFunctionComponentId } from "./component-id";
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/component/component-render-prop.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as AST from "@eslint-react/ast";
import type { RuleContext } from "@eslint-react/kit";
import type { RuleContext } from "@eslint-react/shared";
import type { TSESTree } from "@typescript-eslint/types";
import { AST_NODE_TYPES as T } from "@typescript-eslint/types";
import { JsxDetectionHint, isJsxLike } from "../jsx";
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/component/component-wrapper.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { RuleContext } from "@eslint-react/kit";
import type { RuleContext } from "@eslint-react/shared";
import type { TSESTree } from "@typescript-eslint/types";
import { AST_NODE_TYPES as T } from "@typescript-eslint/types";

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/jsx/jsx-attribute-name.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { RuleContext } from "@eslint-react/kit";
import type { RuleContext } from "@eslint-react/shared";
import type { TSESTree } from "@typescript-eslint/utils";
import { stringifyJsx } from "./jsx-stringify";

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/jsx/jsx-attribute-value.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type * as AST from "@eslint-react/ast";
import { unit } from "@eslint-react/eff";
import { identity } from "@eslint-react/eff";
import type { RuleContext } from "@eslint-react/kit";
import type { RuleContext } from "@eslint-react/shared";
import type { TSESTree } from "@typescript-eslint/types";
import { AST_NODE_TYPES as T } from "@typescript-eslint/types";
import { getStaticValue } from "@typescript-eslint/utils/ast-utils";
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/jsx/jsx-attribute.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { RuleContext } from "@eslint-react/kit";
import type { RuleContext } from "@eslint-react/shared";
import { findProperty, findVariable, getVariableDefinitionNode } from "@eslint-react/var";
import type { TSESTree } from "@typescript-eslint/types";
import { AST_NODE_TYPES as T } from "@typescript-eslint/types";
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/jsx/jsx-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
RE_ANNOTATION_JSX_IMPORT_SOURCE,
RE_ANNOTATION_JSX_RUNTIME,
type RuleContext,
} from "@eslint-react/kit";
} from "@eslint-react/shared";

// Constants for JSX emit settings.
export const JsxEmit = {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/jsx/jsx-element-is.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { RuleContext } from "@eslint-react/kit";
import type { RuleContext } from "@eslint-react/shared";
import type { TSESTree } from "@typescript-eslint/types";
import { AST_NODE_TYPES as T } from "@typescript-eslint/types";
import { getJsxElementType } from "./jsx-element-type";
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/jsx/jsx-element-type.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { RuleContext } from "@eslint-react/kit";
import type { RuleContext } from "@eslint-react/shared";
import type { TSESTree } from "@typescript-eslint/types";
import { AST_NODE_TYPES as T } from "@typescript-eslint/types";
import { stringifyJsx } from "./jsx-stringify";
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/utils/is-instance-id-equal.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable jsdoc/require-param */
import * as AST from "@eslint-react/ast";
import type { RuleContext } from "@eslint-react/kit";
import type { RuleContext } from "@eslint-react/shared";
import { isNodeValueEqual } from "@eslint-react/var";
import type { TSESTree } from "@typescript-eslint/types";

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/utils/is-react-api.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable function/function-return-boolean */
import * as AST from "@eslint-react/ast";
import { dual, type unit } from "@eslint-react/eff";
import type { RuleContext } from "@eslint-react/kit";
import type { RuleContext } from "@eslint-react/shared";
import { AST_NODE_TYPES as T, type TSESTree } from "@typescript-eslint/types";

export declare namespace isReactAPI {
Expand Down
1 change: 0 additions & 1 deletion packages/plugins/eslint-plugin-react-debug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"@eslint-react/ast": "workspace:*",
"@eslint-react/core": "workspace:*",
"@eslint-react/eff": "workspace:*",
"@eslint-react/kit": "workspace:*",
"@eslint-react/shared": "workspace:*",
"@eslint-react/var": "workspace:*",
"@typescript-eslint/scope-manager": "^8.46.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { RuleConfig } from "@eslint-react/kit";
import type { RuleConfig } from "@eslint-react/shared";
import { DEFAULT_ESLINT_REACT_SETTINGS } from "@eslint-react/shared";

export const name = "react-debug/all";
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/eslint-plugin-react-debug/src/plugin.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { CompatiblePlugin } from "@eslint-react/kit";
import type { CompatiblePlugin } from "@eslint-react/shared";

import { name, version } from "../package.json";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useComponentCollectorLegacy } from "@eslint-react/core";
import type { RuleContext, RuleFeature } from "@eslint-react/kit";
import type { RuleContext, RuleFeature } from "@eslint-react/shared";
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
import type { CamelCase } from "string-ts";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ComponentFlag, DEFAULT_COMPONENT_DETECTION_HINT, useComponentCollector } from "@eslint-react/core";
import type { RuleContext, RuleFeature } from "@eslint-react/kit";
import type { RuleContext, RuleFeature } from "@eslint-react/shared";
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
import type { CamelCase } from "string-ts";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useHookCollector } from "@eslint-react/core";
import type { RuleContext, RuleFeature } from "@eslint-react/kit";
import type { RuleContext, RuleFeature } from "@eslint-react/shared";
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
import type { CamelCase } from "string-ts";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { isInitializedFromReact } from "@eslint-react/core";
import type { RuleContext, RuleFeature } from "@eslint-react/kit";
import type { RuleContext, RuleFeature } from "@eslint-react/shared";
import { getSettingsFromContext } from "@eslint-react/shared";
import type { Scope } from "@typescript-eslint/scope-manager";
import type { TSESTree } from "@typescript-eslint/utils";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
isJsxFragmentElement,
} from "@eslint-react/core";
import { flow } from "@eslint-react/eff";
import { type RuleContext, type RuleFeature, report } from "@eslint-react/kit";
import { type RuleContext, type RuleFeature, report } from "@eslint-react/shared";
import { AST_NODE_TYPES as T, type TSESTree } from "@typescript-eslint/types";
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
import type { CamelCase } from "string-ts";
Expand Down
1 change: 0 additions & 1 deletion packages/plugins/eslint-plugin-react-dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"@eslint-react/ast": "workspace:*",
"@eslint-react/core": "workspace:*",
"@eslint-react/eff": "workspace:*",
"@eslint-react/kit": "workspace:*",
"@eslint-react/shared": "workspace:*",
"@eslint-react/var": "workspace:*",
"@typescript-eslint/scope-manager": "^8.46.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { RuleConfig } from "@eslint-react/kit";
import type { RuleConfig } from "@eslint-react/shared";
import { DEFAULT_ESLINT_REACT_SETTINGS } from "@eslint-react/shared";

import { plugin } from "../plugin";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { RuleConfig } from "@eslint-react/kit";
import type { RuleConfig } from "@eslint-react/shared";

import * as recommendedConfig from "./recommended";

Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/eslint-plugin-react-dom/src/plugin.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { CompatiblePlugin } from "@eslint-react/kit";
import type { CompatiblePlugin } from "@eslint-react/shared";

import { name, version } from "../package.json";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getJsxAttribute, isJsxText } from "@eslint-react/core";
import type { RuleContext, RuleFeature } from "@eslint-react/kit";
import type { RuleContext, RuleFeature } from "@eslint-react/shared";
import { type TSESTree } from "@typescript-eslint/types";
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
import type { CamelCase } from "string-ts";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getJsxAttribute } from "@eslint-react/core";
import type { RuleContext, RuleFeature } from "@eslint-react/kit";
import type { RuleContext, RuleFeature } from "@eslint-react/shared";
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
import type { CamelCase } from "string-ts";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { RuleContext, RuleFeature } from "@eslint-react/kit";
import type { RuleContext, RuleFeature } from "@eslint-react/shared";
import { AST_NODE_TYPES as T } from "@typescript-eslint/types";
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
import type { CamelCase } from "string-ts";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { RuleContext, RuleFeature } from "@eslint-react/kit";
import type { RuleContext, RuleFeature } from "@eslint-react/shared";
import { AST_NODE_TYPES as T } from "@typescript-eslint/types";
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
import type { CamelCase } from "string-ts";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { RuleContext, RuleFeature } from "@eslint-react/kit";
import type { RuleContext, RuleFeature } from "@eslint-react/shared";
import { getSettingsFromContext } from "@eslint-react/shared";
import type { TSESTree } from "@typescript-eslint/types";
import { AST_NODE_TYPES as T } from "@typescript-eslint/types";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getJsxAttribute } from "@eslint-react/core";
import type { RuleContext, RuleFeature, RuleSuggest } from "@eslint-react/kit";
import type { RuleContext, RuleFeature, RuleSuggest } from "@eslint-react/shared";
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
import type { CamelCase } from "string-ts";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getJsxAttribute, resolveJsxAttributeValue } from "@eslint-react/core";
import type { RuleContext, RuleFeature } from "@eslint-react/kit";
import type { RuleContext, RuleFeature } from "@eslint-react/shared";
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
import type { CamelCase } from "string-ts";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getJsxElementType } from "@eslint-react/core";
import type { RuleContext, RuleFeature } from "@eslint-react/kit";
import type { RuleContext, RuleFeature } from "@eslint-react/shared";
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
import type { CamelCase } from "string-ts";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { RuleContext, RuleFeature } from "@eslint-react/kit";
import type { RuleContext, RuleFeature } from "@eslint-react/shared";
import { AST_NODE_TYPES as T } from "@typescript-eslint/types";
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
import type { CamelCase } from "string-ts";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { RuleContext, RuleFeature } from "@eslint-react/kit";
import type { RuleContext, RuleFeature } from "@eslint-react/shared";
import { getSettingsFromContext } from "@eslint-react/shared";
import type { TSESTree } from "@typescript-eslint/types";
import { AST_NODE_TYPES as T } from "@typescript-eslint/types";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { resolveJsxAttributeValue } from "@eslint-react/core";
import { RE_JAVASCRIPT_PROTOCOL, type RuleContext, type RuleFeature } from "@eslint-react/kit";
import { RE_JAVASCRIPT_PROTOCOL, type RuleContext, type RuleFeature } from "@eslint-react/shared";
import { AST_NODE_TYPES as T } from "@typescript-eslint/types";
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
import type { CamelCase } from "string-ts";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getJsxAttribute, isJsxHostElement, resolveJsxAttributeValue } from "@eslint-react/core";
import type { RuleContext, RuleFeature } from "@eslint-react/kit";
import type { RuleContext, RuleFeature } from "@eslint-react/shared";
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
import type { CamelCase } from "string-ts";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Ported from https://github.com/jsx-eslint/eslint-plugin-react/blob/master/lib/rules/no-unknown-property.js
// TODO: Port to TypeScript
// @ts-nocheck
import { report } from "@eslint-react/kit";
import type { RuleContext, RuleFeature } from "@eslint-react/kit";
import { report } from "@eslint-react/shared";
import type { RuleContext, RuleFeature } from "@eslint-react/shared";
import { getSettingsFromContext } from "@eslint-react/shared";
import type { JSXAttribute } from "@typescript-eslint/types/dist/ast-spec";
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
Expand Down
Loading