Skip to content

Re-enable no-unused-expressions after Vitest migration#523

Merged
tortmayr merged 1 commit into
masterfrom
cleanup-eslint
Jun 24, 2026
Merged

Re-enable no-unused-expressions after Vitest migration#523
tortmayr merged 1 commit into
masterfrom
cleanup-eslint

Conversation

@tortmayr

Copy link
Copy Markdown
Contributor

What it does

  • Drop the chai-friendly no-unused-expressions and spec-only import-x/namespace eslint overrides, both workarounds for the Mocha/chai/sinon era that Vitest no longer needs
  • Remove the now-unused eslint-plugin-chai-friendly dependency
  • Refactor changeCSSClass/changeCodiconClass to use classList.toggle so they no longer rely on the disabled rule

How to test

Follow-ups

Changelog

  • This PR should be mentioned in the changelog
  • This PR introduces a breaking change (if yes, provide more details below for the changelog and the migration guide)

@github-actions

github-actions Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Preview: Removed (PR closed).

- Drop the chai-friendly no-unused-expressions and spec-only
  import-x/namespace eslint overrides, both workarounds for the
  Mocha/chai/sinon era that Vitest no longer needs
- Remove the now-unused eslint-plugin-chai-friendly dependency
- Refactor changeCSSClass/changeCodiconClass to use classList.toggle
  so they no longer rely on the disabled rule
@tortmayr
tortmayr merged commit 33dd7c7 into master Jun 24, 2026
7 checks passed
@tortmayr
tortmayr deleted the cleanup-eslint branch June 24, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant