Skip to content

[v3-3-test] Bump eslint-plugin-unicorn to 72.0.0 - #70520

Merged
pierrejeambrun merged 1 commit into
apache:v3-3-testfrom
astronomer:backport-70402
Jul 27, 2026
Merged

[v3-3-test] Bump eslint-plugin-unicorn to 72.0.0#70520
pierrejeambrun merged 1 commit into
apache:v3-3-testfrom
astronomer:backport-70402

Conversation

@pierrejeambrun

Copy link
Copy Markdown
Member

Backport-ish of #70402 to v3-3-test.

Not a clean cherry-pick: #70402 bumped eslint-plugin-unicorn 71.1.0 → 72.0.0 on main, but v3-3-test was pinned at ^64.0.0, so this is a larger jump. Rather than hand-merge the diverged pnpm-lock.yaml, the lock was regenerated for just this dependency (pnpm install).

The newer unicorn rules surface some findings, fixed here:

  • eslint --fix auto-resolved the fixable ones (numeric separators, etc.).
  • 2 prefer-ternary (source: usePluginTabs, TaskInstance).
  • 2 consistent-function-scoping on test-local helper components (MarkdownModal.test, CreateAssetEventModal.test) — kept in place with a documented eslint-disable (one must stay inside a vi.mock factory due to vitest hoisting).

eslint --quiet (CI mode) passes with 0 errors.


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 4.8)

Generated-by: Claude Code (Opus 4.8) following the guidelines

Adapted from apache#70402 (which bumped 71.1.0 to 72.0.0 on main); v3-3-test was on ^64.0.0, so this is a larger jump. Includes the lint fixes the newer unicorn rules surface.
@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Jul 27, 2026
@shahar1
shahar1 marked this pull request as ready for review July 27, 2026 12:50
@pierrejeambrun

Copy link
Copy Markdown
Member Author

Tested locally and working as expected

@pierrejeambrun
pierrejeambrun merged commit 56dc77c into apache:v3-3-test Jul 27, 2026
141 of 144 checks passed
@pierrejeambrun
pierrejeambrun deleted the backport-70402 branch July 27, 2026 15:01
@github-actions github-actions Bot added this to the Airflow 3.3.1 milestone Jul 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hi maintainer, this PR was merged without a milestone set.
We've automatically set the milestone to Airflow 3.3.1 based on: merged to version branch
If this milestone is not correct, please update it to the appropriate milestone.

This comment was generated by Milestone Tag Assistant.

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.

1 participant