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

feat(component-name-in-template-casing):global option support regex#2928

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

Merged
FloEdelmann merged 4 commits intomasterfromglobal-regex-patterns
Sep 5, 2025

Conversation

@waynzh
Copy link
Member

resolve#2912

@changeset-bot
Copy link

changeset-botbot commentedSep 5, 2025
edited
Loading

🦋 Changeset detected

Latest commit:80f2630

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
NameType
eslint-plugin-vueMinor

Not sure what this means?Click here to learn what changesets are.

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

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 enhances thecomponent-name-in-template-casing rule to support regex patterns in theglobals option, allowing users to match component names with patterns instead of only exact string matches.

  • Added regex pattern support to theglobals option for more flexible component name matching
  • Updated rule implementation to handle both string literals and regex patterns
  • Added comprehensive test coverage for the new regex functionality

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

FileDescription
lib/rules/component-name-in-template-casing.jsUpdated rule logic to parse and handle regex patterns in globals option
tests/lib/rules/component-name-in-template-casing.jsAdded test cases for valid and invalid scenarios with regex patterns
docs/rules/component-name-in-template-casing.mdUpdated documentation with examples of regex pattern usage
.changeset/rude-heads-serve.mdAdded changelog entry for the new feature

Tip: Customize your code reviews with copilot-instructions.md.Create the file orlearn how to get started.

waynzhand others added2 commitsSeptember 5, 2025 17:24
Co-authored-by: Flo Edelmann <git@flo-edelmann.de>
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.

Thank you! 🙂

@FloEdelmannFloEdelmann merged commit10d645e intomasterSep 5, 2025
15 checks passed
@FloEdelmannFloEdelmann deleted the global-regex-patterns branchSeptember 5, 2025 10:13
@github-actionsgithub-actionsbot mentioned this pull requestSep 3, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

Copilot code reviewCopilotCopilot left review comments

@FloEdelmannFloEdelmannFloEdelmann approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

component-name-in-template-casing options.globals should support regex

3 participants

@waynzh@FloEdelmann

[8]ページ先頭

©2009-2025 Movatter.jp