这是indexloc提供的服务,不要输入任何密码
Skip to content

[ENHANCEMENT] Add new ESLINT rule to avoid nested ternary operators and fix #12106

[ENHANCEMENT] Add new ESLINT rule to avoid nested ternary operators and fix

[ENHANCEMENT] Add new ESLINT rule to avoid nested ternary operators and fix #12106

Triggered via pull request November 14, 2025 07:43
Status Failure
Total duration 1m 44s
Artifacts

react.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
lint
Process completed with exit code 1.
lint: ui/app/src/components/secrets/SecretEditorForm.tsx#L665
Replace `⏎······················title={getTooltipTitle(field.value)}⏎······················placement="right"⏎····················` with `·title={getTooltipTitle(field.value)}·placement="right"`
lint: ui/app/src/components/Header/SearchBar/SearchList.tsx#L112
Do not nest ternary expressions
lint: ui/app/src/components/Header/SearchBar/SearchList.tsx#L109
Do not nest ternary expressions
lint
@perses-dev/app#lint: command (/home/runner/work/perses/perses/ui/app) /opt/hostedtoolcache/node/22.14.0/x64/bin/npm run lint exited (1)
lint: ui/app/src/components/Header/SearchBar/SearchList.tsx#L103
Do not nest ternary expressions
lint: ui/app/src/components/Footer.tsx#L65
Replace `⏎··········{versionContent}⏎········` with `{versionContent}`