mirror of
https://github.com/antebudimir/eslint-plugin-vanilla-extract.git
synced 2026-01-01 17:23:31 +00:00
Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
| 62b1844b44 |
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
|
||||||
## [1.16.0] - 2025-12-01
|
## [1.16.0] - 2025-12-01
|
||||||
|
|
||||||
- Add new rule `no-unitless-values` that disallows unitless numeric values for CSS properties that require units
|
- Add new rule `no-unitless-values` that disallows unitless numeric values for CSS properties that require units ([issue #6](https://github.com/antebudimir/eslint-plugin-vanilla-extract/issues/6))
|
||||||
- Flags both numeric literals (e.g., `width: 100`) and string literals with unitless numbers (e.g., `width: '100'`)
|
- Flags both numeric literals (e.g., `width: 100`) and string literals with unitless numbers (e.g., `width: '100'`)
|
||||||
- Allows zero values without units (valid CSS) and properties that accept unitless values (opacity, zIndex, lineHeight, etc.)
|
- Allows zero values without units (valid CSS) and properties that accept unitless values (opacity, zIndex, lineHeight, etc.)
|
||||||
- Configurable allowlist via `allow` option to exclude specific properties from checking
|
- Configurable allowlist via `allow` option to exclude specific properties from checking
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue