Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

refactor: splitconfigs andplugin to separate modules#2967

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
9romise wants to merge2 commits intovuejs:master
base:master
Choose a base branch
Loading
from9romise:refactor/cycle

Conversation

@9romise
Copy link
Contributor

Moveconfigs andplugins to separate modules, avoid circular dependencies. This can help resolve test errors in#2916.

@changeset-bot
Copy link

changeset-botbot commentedNov 22, 2025
edited
Loading

⚠️ No Changeset found

Latest commit:0d49b24

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go.If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@9romise9romise changed the titlerefactor: splitconfigs andplugin to resolve circular dependenciesrefactor: splitconfigs andplugin to separate modulesNov 22, 2025
9romise added a commit to 9romise/eslint-plugin-vue that referenced this pull requestNov 22, 2025
Copy link
Member

@FloEdelmannFloEdelmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Makes sense to me, thank you! 🙂

9romise reacted with heart emoji
Copy link
Contributor

CopilotAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Pull request overview

This PR refactors the plugin architecture by splittingconfigs andplugin into separate modules to avoid circular dependencies and resolve test errors.

Key Changes:

  • Createdlib/plugin.js containing rules and processors (auto-generated)
  • Createdlib/configs/index.js to centralize all config exports
  • Updatedlib/index.js to combine plugin and configs modules
  • Updated flat config files to reference../../plugin instead of../../index
  • Replacedtools/update-lib-index.js withtools/update-lib-plugin.js

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
FileDescription
tools/update.jsUpdated to require the newupdate-lib-plugin script instead ofupdate-lib-index
tools/update-lib-plugin.jsNew script that generateslib/plugin.js with rules and processors
tools/update-lib-index.jsRemoved - replaced by separate plugin and configs modules
tools/update-lib-flat-configs.jsUpdated to reference../../plugin instead of../../index in generated flat configs
lib/plugin.jsNew auto-generated file containing plugin meta, rules, and processors
lib/index.jsRefactored to import and combine separate configs and plugin modules
lib/configs/index.jsNew file that centralizes all config exports (eslintrc, flat, and no-layout-rules)
lib/configs/flat/base.jsUpdated to require../../plugin instead of../../index to avoid circular dependencies

💡Add Copilot custom instructions for smarter, more guided reviews.Learn how to get started.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@FloEdelmannFloEdelmannFloEdelmann approved these changes

Copilot code reviewCopilotCopilot left review comments

@ota-meshiota-meshiAwaiting requested review from ota-meshi

@waynzhwaynzhAwaiting requested review from waynzh

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@9romise@FloEdelmann

[8]ページ先頭

©2009-2025 Movatter.jp