Skip to content

Internal: Update ecmaVersion in ESLint config from 2017 to 2023 [TMZ-1052]#672

Merged
ManorHazaz merged 2 commits into
mainfrom
ecma-version
Jul 19, 2026
Merged

Internal: Update ecmaVersion in ESLint config from 2017 to 2023 [TMZ-1052]#672
ManorHazaz merged 2 commits into
mainfrom
ecma-version

Conversation

@rami-elementor

@rami-elementor rami-elementor commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

✨ PR Description

1. Problem & Context

Updating ESLint parser target from ES2017 to ES2023 to support modern JavaScript syntax and align with current ecosystem standards (TMZ-1052).

2. What Changed (Where)

.eslintrc.js: parserOptions.ecmaVersion bumped from 2017 to 2023.

3. How It Works

ESLint parser now recognizes ES2023 syntax (e.g., top-level await, static class initialization blocks, Array.prototype.findLast). No configuration restructuring—straightforward version field update.

4. Risks

Minimal. If codebase contains unsupported syntax for older targets, linting will now catch it earlier. Verify no intentional ES5-only constraints exist in the project.

Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using.
💡 Tip: You can customize your AI Description using Guidelines Learn how

@ManorHazaz
ManorHazaz merged commit 22144c7 into main Jul 19, 2026
23 checks passed
@ManorHazaz
ManorHazaz deleted the ecma-version branch July 19, 2026 08:07
ManorHazaz added a commit that referenced this pull request Jul 19, 2026
…) (#674)

Co-authored-by: Rami Yushuvaev <92088692+rami-elementor@users.noreply.github.com>
Co-authored-by: Manor Hazaz <manorhazaz@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants