Skip to content

v0.9.2

Choose a tag to compare

@amery amery released this 09 Jun 19:22
· 12 commits to main since this release
v0.9.2
9684484

If you enable the JSON config globally, this release stops three
core ESLint rules — strict, no-unused-expressions, and
no-unused-vars — from leaking onto your .json/.jsonc files,
where they would fire spuriously. It also adds
withAbbreviations, a primitive for extending the unicorn
abbreviation allowlist with your own identifiers.

Install

npm i -D @poupe/eslint-config@0.9.2
pnpm add -D @poupe/eslint-config@0.9.2

Added

  • unicorn: withAbbreviations(tokens) extends
    unicorn/prevent-abbreviations with project-specific allowed
    identifiers. It re-emits the complete merged rule options,
    since ESLint replaces rule options wholesale rather than
    deep-merging them. (#250)

Fixed

  • json: The recommended-with-json core-rule disables
    (strict, no-unused-expressions, no-unused-vars) were
    silently dropped by a positional [2].rules read, so those
    rules leaked onto JSON/JSONC files when enabled globally. The
    disables are restored via a new mergeRules helper that folds
    rules across every config entry rather than a single index.
    (#247)

Changed

  • deps: Dropped the obsolete oxc-parser override — a
    July-2025 CI native-bindings workaround, confirmed no longer
    needed — and normalised version ranges to ^ for non-0.0.x
    dependencies (shipped tailwind-csstree ~0.3.0^0.3.0).
    (#247)

Internal

  • deps: Deduplicated semver onto a single 7.8.3 instance,
    dropping the redundant 7.8.2 copy. (#252)

Pull requests

  • #247 — examples strict TypeScript type-checking, plus the JSON
    fix and dependency normalisation
  • #250withAbbreviations extension primitive
  • #252 — release v0.9.2

Full changelog: v0.9.1...v0.9.2