mirror of
https://github.com/antebudimir/eslint-plugin-vanilla-extract.git
synced 2025-12-31 08:53:33 +00:00
feat 🥁: add no-px-unit rule
- Add new rule `no-px-unit` that disallows `px` units in vanilla-extract styles with an allowlist option - Provides fix suggestions for string literals and simple template literals (no expressions)
This commit is contained in:
parent
9263c5dd24
commit
69dd109311
9 changed files with 464 additions and 16 deletions
|
|
@ -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.13.0] - 2025-11-04
|
||||
|
||||
- Add new rule `no-px-unit` that disallows `px` units in vanilla-extract styles with an allowlist option
|
||||
- Provides fix suggestions for string literals and simple template literals (no expressions)
|
||||
|
||||
## [1.12.0] - 2025-10-22
|
||||
|
||||
- Add new rule `no-trailing-zero` that flags and fixes unnecessary trailing zeros in numeric values
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue