From 0f7c9c203903d3401cb23b06f27397f2274a6057 Mon Sep 17 00:00:00 2001 From: ChanHo Lee Date: Mon, 25 May 2026 02:20:00 +0900 Subject: [PATCH] [ZEPPELIN-6421] Integrate zeppelin-react lint into root lint script zeppelin-react has its own ESLint config (with rules at error level) but was not wired into the root lint script. Mirror the existing build:react pattern with lint:react and lint:fix:react, and include them in the root composite lint scripts so Maven's npm lint execution catches ESLint violations in zeppelin-react. --- zeppelin-web-angular/package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/zeppelin-web-angular/package.json b/zeppelin-web-angular/package.json index 2bf5deaff5a..e407986f420 100644 --- a/zeppelin-web-angular/package.json +++ b/zeppelin-web-angular/package.json @@ -14,8 +14,10 @@ "build:projects": "npm run build-project:sdk && npm run build-project:vis", "build-project:sdk": "ng build --project zeppelin-sdk", "build-project:vis": "ng build --project zeppelin-visualization", - "lint": "cross-env NODE_OPTIONS='--max-old-space-size=8192' ng lint && prettier --check \"**/*.{ts,js,json,css,html}\"", - "lint:fix": "cross-env NODE_OPTIONS='--max-old-space-size=8192' ng lint --fix && prettier --write \"**/*.{ts,js,json,css,html}\"", + "lint": "cross-env NODE_OPTIONS='--max-old-space-size=8192' ng lint && npm run lint:react && prettier --check \"**/*.{ts,js,json,css,html}\"", + "lint:fix": "cross-env NODE_OPTIONS='--max-old-space-size=8192' ng lint --fix && npm run lint:fix:react && prettier --write \"**/*.{ts,js,json,css,html}\"", + "lint:react": "cd projects/zeppelin-react && npm run lint", + "lint:fix:react": "cd projects/zeppelin-react && npm run lint:fix", "e2e": "playwright test", "e2e:fast": "playwright test --project=chromium", "e2e:ui": "playwright test --ui",