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-invalid-regexp supportv flag#17404

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
mdjermanovic merged 5 commits intoeslint:mainfromota-meshi:vavlid-regexp
Jul 25, 2023

Conversation

ota-meshi
Copy link
Member

@ota-meshiota-meshi commentedJul 23, 2023
edited
Loading

Prerequisites checklist

What is the purpose of this pull request? (put an "X" next to an item)

[X] Changes an existing rule (template)
[X] Other, please explain:

Update@eslint-community/regexpp to v4.6.0

What changes did you make? (Give an overview)

Refs#17223

This PR modifies theno-invalid-regexp rule and adds support for regexpv flag.

Is there anything you'd like reviewers to focus on?

@ota-meshiota-meshi requested a review froma team as acode ownerJuly 23, 2023 02:26
@eslint-github-boteslint-github-botbot added the featureThis change adds a new feature to ESLint labelJul 23, 2023
@netlify
Copy link

netlifybot commentedJul 23, 2023
edited
Loading

Deploy Preview fordocs-eslint canceled.

NameLink
🔨 Latest commit1a775c4
🔍 Latest deploy loghttps://app.netlify.com/sites/docs-eslint/deploys/64be875da9f1b50008d358bf

@mdjermanovicmdjermanovic added ruleRelates to ESLint's core rules acceptedThere is consensus among the team that this change meets the criteria for inclusion new syntaxThis issue is related to new syntax that has reached stage 4 labelsJul 23, 2023
@mdjermanovic
Copy link
Member

@ota-meshi can you also update package.json with"@eslint-community/regexpp": "^4.6.0" in this PR?

@ota-meshi
Copy link
MemberAuthor

I updated regexpp 👍

mdjermanovic reacted with thumbs up emoji

@mdjermanovicmdjermanovic mentioned this pull requestJul 23, 2023
19 tasks
@ota-meshi
Copy link
MemberAuthor

Thank you for checking this PR! I added test cases.

code: "new RegExp('[[]\\\\u{0}*' /* valid only with `u` flag */, 'v')",
errors: [{
messageId: "regexMessage",
data: { message: "Invalid regular expression: /[[]\\u{0}*/u: Unterminated character class" },
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

I noticed that the error message issued by regexpp was wrong. i will fix the error message.

Copy link
Member

Choose a reason for hiding this comment

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

Okay, waiting for the fix then. Otherwise, this LGTM.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

I fixed the error message.
1a775c4

Copy link
Member

@nzakasnzakas left a comment

Choose a reason for hiding this comment

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

LGTM. Just waiting for@mdjermanovic to verify his changes.

Copy link
Member

@mdjermanovicmdjermanovic 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!

@mdjermanovicmdjermanovic merged commit94954a7 intoeslint:mainJul 25, 2023
@ota-meshiota-meshi deleted the vavlid-regexp branchJuly 26, 2023 07:40
@eslint-github-boteslint-github-botbot locked and limited conversation to collaboratorsJan 22, 2024
@eslint-github-boteslint-github-botbot added the archived due to ageThis issue has been archived; please open a new issue for any further discussion labelJan 22, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@nzakasnzakasnzakas approved these changes

@mdjermanovicmdjermanovicmdjermanovic approved these changes

Assignees
No one assigned
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussioncontributor poolfeatureThis change adds a new feature to ESLintnew syntaxThis issue is related to new syntax that has reached stage 4ruleRelates to ESLint's core rules
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@ota-meshi@mdjermanovic@nzakas

[8]ページ先頭

©2009-2025 Movatter.jp