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

fix(block-lang): use consistent quotation marks in error messages#2805

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
ST-DDT wants to merge4 commits intovuejs:master
base:master
Choose a base branch
Loading
fromST-DDT:test/block-lang/consistent-error-message

Conversation

ST-DDT
Copy link
Contributor

@ST-DDTST-DDT commentedJul 18, 2025
edited
Loading

Follow-Up on#2804


While updating the tests, I noticed that the error messages use",' and` for quoting/highlighting things.
This PR changes this to only use'.

Does this qualify asfix? Do I need to create an issue for this one?


Blocked by#2804

@changeset-botchangeset-bot
Copy link

changeset-botbot commentedJul 18, 2025
edited
Loading

🦋 Changeset detected

Latest commit:d411539

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

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

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.

Thank you! I'd say this does qualify as afix, so thanks for adding a changeset! An issue is not required 🙂

ST-DDT reacted with thumbs up emoji
Copy link

@CopilotCopilotAI 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 standardizes quotation marks in error messages for thevue/block-lang ESLint rule to use single quotes consistently throughout. The changes address inconsistent usage of double quotes, single quotes, and backticks in error messages by converting all quotes to single quotes for better consistency.

  • Standardized all quotation marks in error messages to use single quotes instead of mixed quote styles
  • Updated test cases to reflect the new consistent error message format
  • Added position information (endLine, endColumn) to test expectations

Reviewed Changes

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

FileDescription
lib/rules/block-lang.jsUpdated error message templates and helper function to use single quotes consistently
tests/lib/rules/block-lang.jsUpdated test expectations to match new error message format and added missing position data
.changeset/strong-masks-fetch.mdAdded changelog entry documenting the fix for inconsistent quotes

@ST-DDTST-DDT marked this pull request as ready for reviewJuly 18, 2025 18:10
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

@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
@ST-DDT@FloEdelmann

[8]ページ先頭

©2009-2025 Movatter.jp