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:
Ante Budimir 2025-11-04 08:42:47 +02:00
parent 9263c5dd24
commit 85d106dc1d
9 changed files with 462 additions and 15 deletions

View file

@ -1,7 +1,7 @@
{
"name": "@antebudimir/eslint-plugin-vanilla-extract",
"version": "1.12.0",
"description": "ESLint plugin for enforcing best practices in vanilla-extract CSS styles, including CSS property ordering and additional linting rules.",
"version": "1.13.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",
"keywords": [