Skip to content

chore(deps-dev): bump @antfu/eslint-config from 9.5.1 to 10.0.0 - #646

Merged
jeefy merged 2 commits into
mainfrom
dependabot/npm_and_yarn/antfu/eslint-config-10.0.0
Nov 1, 2026
Merged

jeefy merged 2 commits into
mainfrom
dependabot/npm_and_yarn/antfu/eslint-config-10.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @antfu/eslint-config from 9.5.1 to 10.0.0.

Release notes

Sourced from @​antfu/eslint-config's releases.

v10.0.0

   🚨 Breaking Changes

  • Upgrade deps, enable antfu/reasonable-newline and stabilize consistent-list-newline  -  by @​antfu and Claude Sonnet 5.5 (55ed6)
    View changes on GitHub
Commits
  • 54bfe6a chore: release v10.0.0
  • 277df23 chore: upgrade deps to latest majors
  • 55ed64b feat!: upgrade deps, enable antfu/reasonable-newline and stabilize `consist...
  • See full diff in compare view

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Oct 31, 2026
@dependabot
dependabot Bot requested a review from jpmcb as a code owner October 31, 2026 16:33
@dependabot dependabot Bot added the javascript Pull requests that update javascript code label Oct 31, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Please add a kind label with /kind feature, /kind failing-test or /kind cleanup.

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

build-test is red on this head and it is this diff's doing, not infrastructure: @antfu/eslint-config 10.0.0 enables the new antfu/reasonable-newline rule, and npm run lint now fails with dozens of errors across existing files (run 41220235157, job 124593075838 — e.g. "Items containing calls, functions, ternaries, complex spreads or non-empty nested objects/arrays should have line breaks between items" and "Objects with 4 or more properties on a line longer than 40 should have line breaks between items").

This is a major-version bump, so the code churn is expected — but Dependabot will not write the companion commit. For this to land, someone needs to push npx eslint --fix (the rule is auto-fixable) on this branch plus any manual leftovers, or pin the rule off in eslint.config if the repo doesn't want the reformat. Note charts/**/tests/*.yaml is in lint scope too, so check the fix doesn't fight the single-quote convention there.

Until that commit exists this PR cannot merge; recommend a maintainer (or the hive fix lane) adopts the branch rather than closing it.

— hive: agent=reviewer backend=copilot model=claude-fable-5 copilot=1.0.88

Bumps [@antfu/eslint-config](https://github.com/antfu/eslint-config) from 9.5.1 to 10.0.0.
- [Release notes](https://github.com/antfu/eslint-config/releases)
- [Commits](antfu/eslint-config@v9.5.1...v10.0.0)

---
updated-dependencies:
- dependency-name: "@antfu/eslint-config"
  dependency-version: 10.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/antfu/eslint-config-10.0.0 branch from 0162d61 to 4817e7f Compare November 1, 2026 02:39
reasonable-newline, new in 10, would re-wrap about 3700 one-line objects and
calls; it stays off. The one prefer-type-error finding in meow.ts is deliberate:
fetchCatImage retries a TypeError as a network failure, so a malformed 2xx must
stay a plain Error.

Signed-off-by: Jeffrey Sica <me@jeefy.dev>

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Read the tree at head ff0a65bf, not just the diff. This looks correct to me.

What I verified:

  • The build-test failure on this PR is from the previous head (dependabot's 4817e7f, run 41266113854): @antfu/eslint-config 10 enables antfu/reasonable-newline, which flagged hundreds of existing one-line objects/calls. The follow-up commit ff0a65bf addresses exactly that by turning the rule off in eslint.config.mjs:16-20 instead of re-wrapping the whole tree — a reasonable call that keeps the diff reviewable. CI is re-running on the new head.
  • The eslint-disable-next-line unicorn/prefer-type-error at src/issueComment/meow.ts:121 is justified, not a suppression of a real issue: fetchCatImage retries any TypeError as a network failure (src/issueComment/meow.ts:92-97), and parseCatImage is invoked inside that try (meow.ts:77). Switching the malformed-2xx throw to TypeError would make the retry loop re-request a bad payload up to maxAttempts times — the plain Error is load-bearing, and the inline comment says so.
  • dist/index.js matches the src/issueComment/meow.ts change (same comment + disable at the bundled parseCatImage), so the committed bundle was rebuilt, not hand-edited out of sync.

No findings. Once the re-run on ff0a65bf is green this is a routine dev-dependency bump plus the minimal config accommodation for its one breaking rule.

— hive: agent=reviewer backend=copilot model=claude-fable-5 copilot=1.0.88

@jeefy
jeefy merged commit 3c200d1 into main Nov 1, 2026
12 checks passed
@jeefy
jeefy deleted the dependabot/npm_and_yarn/antfu/eslint-config-10.0.0 branch November 1, 2026 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code needs-kind

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant