eslint-plugin-vanilla-extract/src/css-rules
Ante Budimir 5b0bcf17c7 feat 🥁: add prefer-logical-properties rule for i18n-friendly styles
- Add new rule `prefer-logical-properties` that enforces logical CSS properties over physical directional properties
- Detects 140+ physical property mappings across margin, padding, border, inset, size, overflow, and scroll properties
- Supports value-based detection for `text-align`, `float`, `clear`, and `resize` properties
- Provides automatic fixes for all detected violations
- Preserves original formatting (camelCase/kebab-case and quote style)
- Configurable allowlist via `allow` option to skip specific properties
- Comprehensive test coverage
2025-11-09 20:54:11 +02:00
..
alphabetical-order feat 🥁: add wrapper function support with reference tracking 2025-06-25 16:51:36 +00:00
concentric-order feat 🥁: add wrapper function support with reference tracking 2025-06-25 16:51:36 +00:00
custom-order feat 🥁: add wrapper function support with reference tracking 2025-06-25 16:51:36 +00:00
no-empty-blocks feat 🥁: add wrapper function support with reference tracking 2025-06-25 16:51:36 +00:00
no-px-unit feat 🥁: add no-px-unit rule 2025-11-04 08:55:42 +02:00
no-trailing-zero feat 🥁: add no-trailing-zero rule 2025-10-22 06:06:33 +03:00
no-unknown-unit feat 🥁: add wrapper function support with reference tracking 2025-06-25 16:51:36 +00:00
no-zero-unit feat 🥁: add wrapper function support with reference tracking 2025-06-25 16:51:36 +00:00
prefer-logical-properties feat 🥁: add prefer-logical-properties rule for i18n-friendly styles 2025-11-09 20:54:11 +02:00
shared-utils test : add coverage for reference-based visitor creator 2025-10-17 09:43:28 +03:00
types.ts feat 🥁: add no-empty-style-blocks rule 2025-04-06 16:34:35 +03:00