mirror of
https://github.com/antebudimir/eslint-plugin-vanilla-extract.git
synced 2025-12-31 08:53:33 +00:00
feat 🥁: add no-unitless-values rule
- Disallow unitless numeric values for CSS properties that require units (e.g., width: 100 should be width: 100px) - Allow zero values and unitless-valid properties (opacity, zIndex, lineHeight) - Support both numeric literals and string literals with unitless numbers - Configurable allowlist via 'allow' option
This commit is contained in:
parent
7261c78a42
commit
62b1844b44
10 changed files with 1059 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@antebudimir/eslint-plugin-vanilla-extract",
|
||||
"version": "1.15.1",
|
||||
"version": "1.16.0",
|
||||
"description": "Comprehensive ESLint plugin for vanilla-extract with CSS property ordering, style validation, and best practices enforcement. Supports alphabetical, concentric and custom CSS ordering, auto-fixing, and zero-runtime safety.",
|
||||
"author": "Ante Budimir",
|
||||
"license": "MIT",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue