Skip to content

feat: added support for regexp literal#644

Merged
amilajack merged 1 commit intoamilajack:mainfrom
DenyVeyten:feature/regexp_literal
Sep 25, 2025
Merged

feat: added support for regexp literal#644
amilajack merged 1 commit intoamilajack:mainfrom
DenyVeyten:feature/regexp_literal

Conversation

@DenyVeyten
Copy link
Copy Markdown
Contributor

Closes #555.

Adds Literal node type and lintLiteral validation function to use syntaxes rule property to define unsupported syntaxes.

Catches /abc/ regexp literal and new RegExp('abc') expression, but not const x = "x"; new RegExp(x).

@amilajack
Copy link
Copy Markdown
Owner

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

@amilajack amilajack merged commit ee71626 into amilajack:main Sep 25, 2025
github-actions Bot pushed a commit that referenced this pull request Jan 23, 2026
# [6.1.0](v6.0.2...v6.1.0) (2026-01-23)

### Bug Fixes

* correct event name check in release workflow ([1b573c6](1b573c6))
* fix CI failures and improve test/release workflow separation ([#662](#662)) ([2b62f0e](2b62f0e))

### Features

* add ignoreConditionalChecks setting ([#676](#676)) ([4c3f730](4c3f730))
* add semantic-release automation ([#661](#661)) ([ae98059](ae98059))
* added support for regexp literal ([#644](#644)) ([ee71626](ee71626))
github-actions Bot pushed a commit that referenced this pull request Jan 23, 2026
# [6.1.0](v6.0.2...v6.1.0) (2026-01-23)

### Bug Fixes

* correct event name check in release workflow ([1b573c6](1b573c6))
* fix CI failures and improve test/release workflow separation ([#662](#662)) ([2b62f0e](2b62f0e))

### Features

* add ignoreConditionalChecks setting ([#676](#676)) ([4c3f730](4c3f730))
* add semantic-release automation ([#661](#661)) ([ae98059](ae98059))
* added support for regexp literal ([#644](#644)) ([ee71626](ee71626))
github-actions Bot pushed a commit that referenced this pull request Jan 23, 2026
# [6.1.0](v6.0.2...v6.1.0) (2026-01-23)

### Bug Fixes

* correct event name check in release workflow ([1b573c6](1b573c6))
* fix CI failures and improve test/release workflow separation ([#662](#662)) ([2b62f0e](2b62f0e))

### Features

* add ignoreConditionalChecks setting ([#676](#676)) ([4c3f730](4c3f730))
* add semantic-release automation ([#661](#661)) ([ae98059](ae98059))
* added support for regexp literal ([#644](#644)) ([ee71626](ee71626))
github-actions Bot pushed a commit that referenced this pull request Jan 23, 2026
# [6.1.0](v6.0.2...v6.1.0) (2026-01-23)

### Bug Fixes

* correct event name check in release workflow ([1b573c6](1b573c6))
* fix CI failures and improve test/release workflow separation ([#662](#662)) ([2b62f0e](2b62f0e))

### Features

* add ignoreConditionalChecks setting ([#676](#676)) ([4c3f730](4c3f730))
* add semantic-release automation ([#661](#661)) ([ae98059](ae98059))
* added support for regexp literal ([#644](#644)) ([ee71626](ee71626))
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 6.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lookbehind in regular expressions not reported even though it is not supported on Safari browser

2 participants