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(no-restricted-html-elements): support array of elements#2750

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
waynzh merged 2 commits intovuejs:masterfromShayanTheNerd:master
Jun 6, 2025
Merged

feat(no-restricted-html-elements): support array of elements#2750

waynzh merged 2 commits intovuejs:masterfromShayanTheNerd:master
Jun 6, 2025

Conversation

@ShayanTheNerd
Copy link
Contributor

This addition helps reduce duplication in a scenario like the following.

This:

'vue/no-restricted-html-elements':['error',{element:'a',message:'Use `<ULink>`.'},{element:'NuxtLink',message:'Use `<ULink>`.'},{element:'RouterLink',message:'Use `<ULink>`.'},],

Becomes this:

'vue/no-restricted-html-elements':['error',{element:['a','RouterLink','NuxtLink'],message:'Use `<ULink>`.'},],

Note: I purposely didn't change the key fromelement toelements to avoid breaking changes.

haashemi reacted with hooray emoji
@changeset-bot
Copy link

changeset-botbot commentedJun 1, 2025
edited
Loading

🦋 Changeset detected

Latest commit:aeb51f6

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
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.

Looks good to me, thank you 🙂

ShayanTheNerd reacted with heart emoji
Copy link
Member

@waynzhwaynzh left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks!

ShayanTheNerd reacted with heart emoji
@waynzhwaynzh merged commitcf261fb intovuejs:masterJun 6, 2025
11 checks passed
@github-actionsgithub-actionsbot mentioned this pull requestMay 18, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@FloEdelmannFloEdelmannFloEdelmann approved these changes

@waynzhwaynzhwaynzh 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.

3 participants

@ShayanTheNerd@FloEdelmann@waynzh

[8]ページ先頭

©2009-2025 Movatter.jp