Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Chore(deps-dev): Bump eslint-plugin-unicorn from 64.0.0 to 66.0.0 in /extension#276

Merged
twschiller merged 2 commits into
mainfrom
dependabot/bun/extension/eslint-plugin-unicorn-65.0.1
Jun 22, 2026
Merged

Chore(deps-dev): Bump eslint-plugin-unicorn from 64.0.0 to 66.0.0 in /extension#276
twschiller merged 2 commits into
mainfrom
dependabot/bun/extension/eslint-plugin-unicorn-65.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 20, 2026

Copy link
Copy Markdown
Contributor

Bumps eslint-plugin-unicorn from 64.0.0 to 66.0.0.

Release notes

Sourced from eslint-plugin-unicorn's releases.

v66.0.0

Breaking

New rules

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 20, 2026
@vercel

vercel Bot commented Jun 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agent-browser-shield-demo-site Ready Ready Preview, Comment Jun 22, 2026 10:40am

Request Review

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 64.0.0 to 66.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](sindresorhus/eslint-plugin-unicorn@v64.0.0...v66.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
  dependency-version: 65.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot changed the title Chore(deps-dev): Bump eslint-plugin-unicorn from 64.0.0 to 65.0.1 in /extension Chore(deps-dev): Bump eslint-plugin-unicorn from 64.0.0 to 66.0.0 in /extension Jun 21, 2026
@dependabot dependabot Bot force-pushed the dependabot/bun/extension/eslint-plugin-unicorn-65.0.1 branch from 5f1ea85 to edfc964 Compare June 21, 2026 19:15
eslint-plugin-unicorn 66 enabled many new recommended rules. Apply the
cleanly autofixable ones in-tree, downgrade the non-autofixable rules to
warnings so the bump lands without a mass manual rewrite, and turn off
three whose autofix is unsafe/redundant here:

- comment-content: rewrites prose and real paths in comments
- prefer-https: rewrites schema.org itemtype URIs and http test fixtures
- require-css-escape: double-escapes values already handled by
  escapeAttributeValue and breaks on numeric interpolations

filename-case sets checkDirectories:false to keep the Jest __tests__ /
__test-mocks__ convention. Two no-unnecessary-global-this sites get inline
disables where the global is deliberately accessed via globalThis (absent
CSS in jsdom, typed chrome.scripting mock cast).

Ratcheting the warnings back to errors is tracked in #279.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@twschiller twschiller merged commit ee6802b into main Jun 22, 2026
7 checks passed
@twschiller twschiller deleted the dependabot/bun/extension/eslint-plugin-unicorn-65.0.1 branch June 22, 2026 10:44
twschiller added a commit that referenced this pull request Jun 22, 2026
From #279. Drop the redundant `globalThis.` prefix on the production Web-API
call sites (the #276 autofix did property reads; it leaves method calls alone
since dropping the object could in theory change `this` — safe for these
standard globals):

- placeholder, cookie-banner-hide, hidden-text-strip, newsletter-modal-hide,
  svg-sprite-strip, irrelevant-sections-redact: getComputedStyle
- route-change: add/removeEventListener
- use-tab-debug-trace, use-tab-pause: setInterval/clearInterval
- yielding-text-walk: requestIdleCallback

Disabled in the `src/**/__tests__/**` override: tests deliberately reach for
`globalThis.*` to mock — overriding globals (`globalThis.MutationObserver = …`),
dispatching events, and reading computed style against the jsdom global. So
the test call sites keep `globalThis.` and a now-redundant inline disable in
hidden-fee-annotate.test.ts is dropped.

Rule is error everywhere else (reverts to unicorn/recommended default).

Refs #279

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant