[ENHANCEMENT] Add new ESLINT rule to avoid nested ternary operators and fix #12106
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}`
|