Skip to content

[ZEPPELIN-6425] Migrate zeppelin-react ESLint config to v9 flat format#5263

Merged
tbonelee merged 3 commits into
apache:masterfrom
voidmatcha:fix/zeppelin-react-eslint-config
Jun 3, 2026
Merged

[ZEPPELIN-6425] Migrate zeppelin-react ESLint config to v9 flat format#5263
tbonelee merged 3 commits into
apache:masterfrom
voidmatcha:fix/zeppelin-react-eslint-config

Conversation

@voidmatcha
Copy link
Copy Markdown
Contributor

What is this PR for?

This regression surfaced after ZEPPELIN-6421 (zeppelin-react lint integration) and ZEPPELIN-6424 (Angular 13 to 21 upgrade) merged in close succession. Each PR passed CI in isolation, but together they broke npm run lint:react:

  • ZEPPELIN-6421 added projects/zeppelin-react/package.json scripts that use the ESLint 8 --ext .ts,.tsx flag and rely on projects/zeppelin-react/.eslintrc.json.
  • ZEPPELIN-6424 bumped the root install to ESLint 9, which removed --ext and dropped .eslintrc.* support entirely in favor of flat config (eslint.config.{js,mjs,cjs}).

The two changes never collided in their own PR CIs because each was tested against a master that didn't yet contain the other. Once both landed, master's frontend / run-playwright-e2e-tests (auth, 3.9) and (anonymous, 3.9) started failing at the npm lint step before Playwright ran.

What type of PR is it?

Bug Fix

Todos

What is the Jira issue?

ZEPPELIN-6425

How should this be tested?

Screenshots (if appropriate)

Questions:

  • Does the license files need to update? No
  • Is there breaking changes for older versions? No
  • Does this needs documentation? No

@voidmatcha voidmatcha force-pushed the fix/zeppelin-react-eslint-config branch from a17c2ac to af888da Compare June 3, 2026 01:44
@voidmatcha voidmatcha force-pushed the fix/zeppelin-react-eslint-config branch from af888da to 8c7ec9c Compare June 3, 2026 01:55
Copy link
Copy Markdown
Contributor

@tbonelee tbonelee left a comment

Choose a reason for hiding this comment

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

LGTM. We only need to correct the reference for the .eslintrc.json in zeppelin-react/README.md

@tbonelee tbonelee merged commit ef09072 into apache:master Jun 3, 2026
16 of 19 checks passed
@tbonelee
Copy link
Copy Markdown
Contributor

tbonelee commented Jun 3, 2026

Merged into master

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants