v0.9.2
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.2pnpm add -D @poupe/eslint-config@0.9.2Added
- unicorn:
withAbbreviations(tokens)extends
unicorn/prevent-abbreviationswith 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-jsoncore-rule disables
(strict,no-unused-expressions,no-unused-vars) were
silently dropped by a positional[2].rulesread, so those
rules leaked onto JSON/JSONC files when enabled globally. The
disables are restored via a newmergeRuleshelper that folds
rules across every config entry rather than a single index.
(#247)
Changed
- deps: Dropped the obsolete
oxc-parseroverride — a
July-2025 CI native-bindings workaround, confirmed no longer
needed — and normalised version ranges to^for non-0.0.x
dependencies (shippedtailwind-csstree~0.3.0→^0.3.0).
(#247)
Internal
- deps: Deduplicated
semveronto 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 - #250 —
withAbbreviationsextension primitive - #252 — release v0.9.2
Full changelog: v0.9.1...v0.9.2