refactor: migrate to @ and # path aliases, replace tsx with vite-node - #1733
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
Refactors the monorepo to use TypeScript paths aliases (@ for package-local source, # for workspace root) and switches several root scripts from tsx to vite-node, updating imports and documentation accordingly.
Changes:
- Add
pathsaliases to root + plugintsconfig.jsonfiles and migrate many imports to@/…and#/…. - Replace
tsxwithvite-nodefor repo scripts and adjust dynamic imports used by verification scripts. - Update Vitest config + add documentation describing the new import-path convention.
Reviewed changes
Copilot reviewed 215 out of 217 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| vitest.config.ts | Enables tsconfig-path resolution for Vitest/Vite tooling. |
| tsconfig.json | Adds workspace-root # path aliases for root-level TS files/scripts. |
| scripts/verify-rule-docs.ts | Switches config imports to #/… and adjusts rule-module dynamic import resolution. |
| scripts/verify-configs.ts | Switches config imports to #/… and adjusts rule-module dynamic import resolution. |
| scripts/scaffold-rule.ts | Updates generated imports to use @/… + #/… and changes usage text to vite-node. |
| scripts/rename-rule.ts | Updates usage examples from tsx to vite-node. |
| pnpm-lock.yaml | Drops direct tsx entry; adds vite-node and updates lock snapshots. |
| plugins/eslint-plugin/tsconfig.json | Adds @ (package src) and # (workspace root) path aliases. |
| plugins/eslint-plugin-react-x/tsl.config.ts | Replaces custom glob helper with tinyglobby’s globSync for ignore list generation. |
| plugins/eslint-plugin-react-x/tsconfig.json | Adds @/# path aliases. |
| plugins/eslint-plugin-react-x/src/rules/use-state/use-state.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/use-state/use-state.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/use-memo/use-memo.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/use-memo/use-memo.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/unsupported-syntax/unsupported-syntax.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/unsupported-syntax/unsupported-syntax.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/static-components/static-components.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/static-components/static-components.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/set-state-in-render/set-state-in-render.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/set-state-in-render/set-state-in-render.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/set-state-in-effect/set-state-in-effect.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/set-state-in-effect/set-state-in-effect.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/rules-of-hooks/rules-of-hooks.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/refs/refs.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/refs/refs.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/purity/purity.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/purity/purity.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-use-context/no-use-context.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-use-context/no-use-context.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-unused-props/no-unused-props.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-unused-props/no-unused-props.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-unused-class-component-members/no-unused-class-component-members.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-unused-class-component-members/no-unused-class-component-members.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-unstable-default-props/no-unstable-default-props.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-unstable-default-props/no-unstable-default-props.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-unstable-context-value/no-unstable-context-value.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-unstable-context-value/no-unstable-context-value.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-unsafe-component-will-update/no-unsafe-component-will-update.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-unsafe-component-will-update/no-unsafe-component-will-update.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-unsafe-component-will-receive-props/no-unsafe-component-will-receive-props.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-unsafe-component-will-receive-props/no-unsafe-component-will-receive-props.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-unsafe-component-will-mount/no-unsafe-component-will-mount.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-unsafe-component-will-mount/no-unsafe-component-will-mount.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-unnecessary-use-prefix/no-unnecessary-use-prefix.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-unnecessary-use-prefix/no-unnecessary-use-prefix.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-set-state-in-component-will-update/no-set-state-in-component-will-update.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-set-state-in-component-will-update/no-set-state-in-component-will-update.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-set-state-in-component-did-update/no-set-state-in-component-did-update.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-set-state-in-component-did-update/no-set-state-in-component-did-update.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-set-state-in-component-did-mount/no-set-state-in-component-did-mount.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-set-state-in-component-did-mount/no-set-state-in-component-did-mount.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-nested-lazy-component-declarations/no-nested-lazy-component-declarations.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-nested-lazy-component-declarations/no-nested-lazy-component-declarations.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-nested-component-definitions/no-nested-component-definitions.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-nested-component-definitions/no-nested-component-definitions.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-misused-capture-owner-stack/no-misused-capture-owner-stack.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-misused-capture-owner-stack/no-misused-capture-owner-stack.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-missing-key/no-missing-key.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-missing-key/no-missing-key.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-missing-context-display-name/no-missing-context-display-name.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-missing-context-display-name/no-missing-context-display-name.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-missing-component-display-name/no-missing-component-display-name.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-missing-component-display-name/no-missing-component-display-name.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-leaked-conditional-rendering/no-leaked-conditional-rendering.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-leaked-conditional-rendering/no-leaked-conditional-rendering.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-implicit-ref/no-implicit-ref.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-implicit-ref/no-implicit-ref.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-implicit-key/no-implicit-key.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-implicit-key/no-implicit-key.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-implicit-children/no-implicit-children.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-implicit-children/no-implicit-children.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-forward-ref/no-forward-ref.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-forward-ref/no-forward-ref.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-duplicate-key/no-duplicate-key.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-duplicate-key/no-duplicate-key.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-direct-mutation-state/no-direct-mutation-state.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-direct-mutation-state/no-direct-mutation-state.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-create-ref/no-create-ref.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-create-ref/no-create-ref.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-context-provider/no-context-provider.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-context-provider/no-context-provider.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-component-will-update/no-component-will-update.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-component-will-update/no-component-will-update.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-component-will-receive-props/no-component-will-receive-props.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-component-will-receive-props/no-component-will-receive-props.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-component-will-mount/no-component-will-mount.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-component-will-mount/no-component-will-mount.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-clone-element/no-clone-element.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-clone-element/no-clone-element.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-class-component/no-class-component.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-class-component/no-class-component.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-children-to-array/no-children-to-array.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-children-to-array/no-children-to-array.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-children-only/no-children-only.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-children-only/no-children-only.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-children-map/no-children-map.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-children-map/no-children-map.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-children-for-each/no-children-for-each.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-children-for-each/no-children-for-each.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-children-count/no-children-count.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-children-count/no-children-count.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-array-index-key/no-array-index-key.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-array-index-key/no-array-index-key.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/no-access-state-in-setstate/no-access-state-in-setstate.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/no-access-state-in-setstate/no-access-state-in-setstate.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/immutability/immutability.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/immutability/immutability.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/globals/globals.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/globals/globals.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/exhaustive-deps/exhaustive-deps.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-x/src/rules/error-boundaries/error-boundaries.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-x/src/rules/error-boundaries/error-boundaries.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-web-api/tsconfig.json | Adds @/# path aliases. |
| plugins/eslint-plugin-react-web-api/src/rules/no-leaked-timeout/no-leaked-timeout.ts | Migrates imports to @/…. |
| plugins/eslint-plugin-react-web-api/src/rules/no-leaked-timeout/no-leaked-timeout.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-web-api/src/rules/no-leaked-resize-observer/no-leaked-resize-observer.ts | Migrates imports to @/…. |
| plugins/eslint-plugin-react-web-api/src/rules/no-leaked-resize-observer/no-leaked-resize-observer.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-web-api/src/rules/no-leaked-interval/no-leaked-interval.ts | Migrates imports to @/…. |
| plugins/eslint-plugin-react-web-api/src/rules/no-leaked-interval/no-leaked-interval.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-web-api/src/rules/no-leaked-fetch/no-leaked-fetch.ts | Migrates imports to @/…. |
| plugins/eslint-plugin-react-web-api/src/rules/no-leaked-fetch/no-leaked-fetch.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-web-api/src/rules/no-leaked-event-listener/no-leaked-event-listener.ts | Migrates imports to @/…. |
| plugins/eslint-plugin-react-web-api/src/rules/no-leaked-event-listener/no-leaked-event-listener.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-rsc/tsconfig.json | Adds @/# path aliases. |
| plugins/eslint-plugin-react-rsc/src/rules/function-definition/function-definition.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-rsc/src/rules/function-definition/function-definition.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-naming-convention/tsconfig.json | Adds @/# path aliases. |
| plugins/eslint-plugin-react-naming-convention/src/rules/ref-name/ref-name.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-naming-convention/src/rules/ref-name/ref-name.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-naming-convention/src/rules/id-name/id-name.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-naming-convention/src/rules/id-name/id-name.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-naming-convention/src/rules/context-name/context-name.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-naming-convention/src/rules/context-name/context-name.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-jsx/tsconfig.json | Adds @/# path aliases. |
| plugins/eslint-plugin-react-jsx/src/rules/no-useless-fragment/no-useless-fragment.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-jsx/src/rules/no-useless-fragment/no-useless-fragment.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-jsx/src/rules/no-namespace/no-namespace.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-jsx/src/rules/no-namespace/no-namespace.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-jsx/src/rules/no-leaked-semicolon/no-leaked-semicolon.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-jsx/src/rules/no-leaked-semicolon/no-leaked-semicolon.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-jsx/src/rules/no-leaked-dollar/no-leaked-dollar.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-jsx/src/rules/no-leaked-dollar/no-leaked-dollar.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-jsx/src/rules/no-key-after-spread/no-key-after-spread.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-jsx/src/rules/no-key-after-spread/no-key-after-spread.spec.ts | Migrates test helper + related imports to #/test. |
| plugins/eslint-plugin-react-jsx/src/rules/no-comment-textnodes/no-comment-textnodes.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-jsx/src/rules/no-comment-textnodes/no-comment-textnodes.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-jsx/src/rules/no-children-prop/no-children-prop.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-jsx/src/rules/no-children-prop/no-children-prop.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-jsx/src/rules/no-children-prop-with-children/no-children-prop-with-children.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-jsx/src/rules/no-children-prop-with-children/no-children-prop-with-children.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-dom/tsconfig.json | Adds @/# path aliases. |
| plugins/eslint-plugin-react-dom/src/rules/no-void-elements-with-children/no-void-elements-with-children.ts | Migrates imports to @/…. |
| plugins/eslint-plugin-react-dom/src/rules/no-void-elements-with-children/no-void-elements-with-children.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-dom/src/rules/no-use-form-state/no-use-form-state.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-dom/src/rules/no-use-form-state/no-use-form-state.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-dom/src/rules/no-unsafe-target-blank/no-unsafe-target-blank.ts | Migrates imports to @/…. |
| plugins/eslint-plugin-react-dom/src/rules/no-unsafe-target-blank/no-unsafe-target-blank.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-dom/src/rules/no-unsafe-iframe-sandbox/no-unsafe-iframe-sandbox.ts | Migrates imports to @/…. |
| plugins/eslint-plugin-react-dom/src/rules/no-unsafe-iframe-sandbox/no-unsafe-iframe-sandbox.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-dom/src/rules/no-unknown-property/no-unknown-property.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-dom/src/rules/no-unknown-property/no-unknown-property.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-dom/src/rules/no-string-style-prop/no-string-style-prop.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-dom/src/rules/no-string-style-prop/no-string-style-prop.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-dom/src/rules/no-script-url/no-script-url.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-dom/src/rules/no-script-url/no-script-url.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-dom/src/rules/no-render/no-render.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-dom/src/rules/no-render/no-render.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-dom/src/rules/no-render-return-value/no-render-return-value.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-dom/src/rules/no-render-return-value/no-render-return-value.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-dom/src/rules/no-missing-iframe-sandbox/no-missing-iframe-sandbox.ts | Migrates imports to @/…. |
| plugins/eslint-plugin-react-dom/src/rules/no-missing-iframe-sandbox/no-missing-iframe-sandbox.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-dom/src/rules/no-missing-button-type/no-missing-button-type.ts | Migrates imports to @/…. |
| plugins/eslint-plugin-react-dom/src/rules/no-missing-button-type/no-missing-button-type.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-dom/src/rules/no-hydrate/no-hydrate.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-dom/src/rules/no-hydrate/no-hydrate.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-dom/src/rules/no-flush-sync/no-flush-sync.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-dom/src/rules/no-flush-sync/no-flush-sync.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-dom/src/rules/no-find-dom-node/no-find-dom-node.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-dom/src/rules/no-find-dom-node/no-find-dom-node.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-dom/src/rules/no-dangerously-set-innerhtml/no-dangerously-set-innerhtml.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-dom/src/rules/no-dangerously-set-innerhtml/no-dangerously-set-innerhtml.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-dom/src/rules/no-dangerously-set-innerhtml-with-children/no-dangerously-set-innerhtml-with-children.ts | Migrates createRule import to @/…. |
| plugins/eslint-plugin-react-dom/src/rules/no-dangerously-set-innerhtml-with-children/no-dangerously-set-innerhtml-with-children.spec.ts | Migrates test helper import to #/test. |
| plugins/eslint-plugin-react-debug/tsconfig.json | Adds @/# path aliases. |
| plugins/eslint-plugin-react-debug/src/rules/jsx/jsx.ts | Migrates utility imports to @/…. |
| plugins/eslint-plugin-react-debug/src/rules/jsx/jsx.spec.ts | Migrates test helper import to #/test and utils to @/…. |
| plugins/eslint-plugin-react-debug/src/rules/is-from-ref/is-from-ref.ts | Migrates utility imports to @/…. |
| plugins/eslint-plugin-react-debug/src/rules/is-from-ref/is-from-ref.spec.ts | Migrates test helper import to #/test and utils to @/…. |
| plugins/eslint-plugin-react-debug/src/rules/is-from-react/is-from-react.ts | Migrates utility imports to @/…. |
| plugins/eslint-plugin-react-debug/src/rules/is-from-react/is-from-react.spec.ts | Migrates test helper import to #/test and utils to @/…. |
| plugins/eslint-plugin-react-debug/src/rules/hook/hook.ts | Migrates utility imports to @/…. |
| plugins/eslint-plugin-react-debug/src/rules/hook/hook.spec.ts | Migrates test helper import to #/test and utils to @/…. |
| plugins/eslint-plugin-react-debug/src/rules/function-component/function-component.ts | Migrates utility imports to @/…. |
| plugins/eslint-plugin-react-debug/src/rules/function-component/function-component.spec.ts | Migrates test helper import to #/test and utils to @/…. |
| package.json | Switches scripts to vite-node and adds vite-node devDependency. |
| docs/import-paths.md | Adds documented convention for @/# aliases and examples. |
| apps/website/tsconfig.json | Replaces # alias with @ alias for app-local imports. |
| apps/website/proxy.ts | Migrates website import to @/…. |
| apps/website/content/docs/packages/kit.mdx | Migrates component import to @/…. |
| apps/website/content/docs/diagrams.tsx | Migrates component import to @/…. |
| apps/website/content/docs/community.mdx | Migrates component imports to @/…. |
| apps/website/components/ui/Callout.tsx | Migrates cn import to @/…. |
| apps/website/components/GitHubRepoGrid.tsx | Migrates component + util imports to @/…. |
| apps/website/components/GitHubRepo.tsx | Migrates util import to @/…. |
| apps/website/components/ESLintReact.tsx | Migrates asset import to @/…. |
| apps/website/components/BskyPost.tsx | Migrates util import to @/…. |
| apps/website/app/og/docs/[...slug]/route.tsx | Migrates source import to @/…. |
| apps/website/app/llms.txt/route.ts | Migrates source import to @/…. |
| apps/website/app/llms.mdx/docs/[[...slug]]/route.ts | Migrates source imports to @/…. |
| apps/website/app/llms-full.txt/route.ts | Migrates source import to @/…. |
| apps/website/app/layout.tsx | Migrates metadata + CSS imports to @/…. |
| apps/website/app/layout.config.tsx | Migrates asset import to @/…. |
| apps/website/app/docs/layout.tsx | Migrates source import to @/…. |
| apps/website/app/docs/[[...slug]]/page.tsx | Migrates component + lib imports to @/…. |
| apps/website/app/api/search/route.ts | Migrates source import to @/…. |
| apps/website/app/(home)/page.tsx | Migrates component import to @/…. |
| apps/website/app/(home)/layout.tsx | Migrates layout-config import to @/…. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (1)
package.json:108
vite-node@6.0.0(andvite@8.xpulled in by Vitest) declaresengines.nodeas^20.19.0 || >=22.12.0, but this repo’spackage.jsoncurrently allowsnode >=22.0.0. That means installs can fail or warn on Node 22.0–22.11 despite being allowed by the repo engines. Consider bumping the repo engine floor to>=22.12.0(or pinning to tool versions that support>=22.0.0).
"vite-node": "^6.0.0",
"vitest": "^4.1.5"
},
"packageManager": "pnpm@10.33.2",
"engines": {
"node": ">=22.0.0"
}
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…cripts Agent-Logs-Url: https://github.com/Rel1cx/eslint-react/sessions/83b39b76-bfe8-41ae-8692-d95ceb7388b1 Co-authored-by: Rel1cx <24217275+Rel1cx@users.noreply.github.com>
Rel1cx
marked this pull request as ready for review
April 29, 2026 01:08
Rel1cx
added a commit
that referenced
this pull request
May 15, 2026
…#1733) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update "[ ]" to "[x]" to check a box
What kind of change does this PR introduce?
Check at least one. If you are introducing a new binding, you must reference an issue where this binding has been proposed, discussed and approved by the maintainers.
Does this PR introduce a breaking change?
If yes, please describe the impact and migration path for existing applications in an attached issue.
Checklist
fix: remove a typo, closes #___, #___)Other information