Commit graph

5 commits

Author SHA1 Message Date
Seongmin Choi
787d74ec6b
fix: move wrapper detection to global settings and support cross-module style/recipe wrappers (#9)
Some checks failed
CI / Build (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Lint (push) Has been cancelled
2026-04-29 15:22:26 +00:00
Seongmin Choi
aec1bf7d5d
fix: lint arrays from recipe's base property (ComplexStyleRule) (#8)
Some checks failed
CI / Build (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Lint (push) Has been cancelled
* fix support ComplexStyleRule array in recipe base
* cover base array sorting in alphabetical and custom order rules
2026-04-28 04:16:21 +00:00
Seongmin Choi
02576d923c
feat 🥁: add wrapper function support with reference tracking
- add reference tracking for wrapper functions in vanilla-extract style objects
- implement ReferenceTracker class for detecting vanilla-extract imports
- add createReferenceBasedNodeVisitors for automatic function detection
- support wrapper functions with parameter mapping enable all lint rules to work with custom wrapper functions

This commit introduces robust reference tracking and wrapper function support, enabling all lint rules to work seamlessly with custom vanilla-extract style patterns while preserving compatibility with existing usage and improving rule extensibility.
2025-06-25 16:51:36 +00:00
46751da51b refactor ♻️: improve code quality and test coverage
- Fix handling of missing groupOrder configuration
- Refactor negative conditions to positive ones with optional chaining
- Add comprehensive tests to achieve total coverage
2025-03-12 06:11:29 +02:00
5f1e602dee test : add comprehensive test suite for CSS ordering rules
Add tests for all three CSS property ordering rules:

    alphabetical-order,
    concentric-order,
    custom-order,

Tests cover all implemented vanilla-extract APIs, fontFace, globalFontFace, globalKeyframes, globalStyle, keyframes, style, and styleVariants.. Each test verifies both valid and invalid cases, along with proper auto-fixing functionality.
2025-03-10 09:20:32 +02:00