[
https://issues.apache.org/jira/browse/FLINK-39587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-39587:
-----------------------------------
Labels: pull-request-available (was: )
> [Web dashboard] CI lint uses --cache and tolerates prettier drift on master
> ---------------------------------------------------------------------------
>
> Key: FLINK-39587
> URL: https://issues.apache.org/jira/browse/FLINK-39587
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Web Frontend
> Reporter: Purushottam Sinha
> Priority: Minor
> Labels: pull-request-available
>
> Description:
>
>
>
> `npm run lint` uses `eslint --cache`, so files that previously passed
> 83 `prettier/prettier` errors across 25 HTML templates under
>
>
> `flink-runtime-web/web-dashboard/src/` (verify: `rm .eslintcache &&
>
>
> npm run lint`).
>
>
>
>
>
> Fix:
>
>
> - Drop `--cache` from the `lint` script in `package.json`.
>
>
> - Run `npm run lint:fix` across `src/` as one commit.
> - Register that SHA in `.git-blame-ignore-revs`.
>
>
>
> Done when: `rm .eslintcache && npm run lint` exits 0 on a fresh clone.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
