fix 🐞: fix false positives for non-empty object arguments in empty-style-blocks rule
Some checks failed
CI / Build (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Test (push) Has been cancelled

This commit is contained in:
Ante Budimir 2025-11-22 12:13:26 +02:00
parent 1d88c12e3d
commit 7261c78a42
9 changed files with 478 additions and 7 deletions

View file

@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.15.1] - 2025-11-22
- Fix [issue #7](https://github.com/antebudimir/eslint-plugin-vanilla-extract/issues/7) to prevent false positives for `sprinkles()`/`style()`/`recipe()` calls with non-empty object arguments while continuing to flag bare `({})` calls
- Add regression tests covering empty and non-empty call expressions in recipe base/variants to guard against future regressions
## [1.15.0] - 2025-11-14
- Add new rule `prefer-theme-tokens`that requires theme tokens instead of hard-coded values in vanilla-extract styles