Skip to content

UI: Fix prefer-logical-operator-over-ternary lint errors - #74397

Closed
Lee-W wants to merge 1 commit into
apache:mainfrom
astronomer:fix-ui-prefer-logical-operator-lint
Closed

Lee-W wants to merge 1 commit into
apache:mainfrom
astronomer:fix-ui-prefer-logical-operator-lint

Conversation

@Lee-W

@Lee-W Lee-W commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

The ts-compile-lint-ui hook fails on main with two unicorn/prefer-logical-operator-over-ternary errors, blocking static checks for every UI change.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Generated-by: [Claude] following the guidelines


  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

The ts-compile-lint-ui hook fails on main with two
unicorn/prefer-logical-operator-over-ternary errors, blocking static
checks for every UI change.
@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Oct 7, 2026

@guan404ming guan404ming left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@Andrushika

Andrushika commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Seems like a duplicate of #74402... Should we close it?
(since that one is already merged)

@pierrejeambrun pierrejeambrun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Closing, this was fixed by #74402 (which was merged)

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

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants