Commit graph

11 commits

Author SHA1 Message Date
47d3deb2f1 feat 🥁: add no-empty-style-blocks rule to detect and prevent empty CSS blocks 2025-04-06 11:42:54 +03:00
f346002fb0 chore 📝: add bug and feature request templates 2025-03-12 09:23:41 +02:00
cd4314dc53 chore 🔧: add CODEOWNERS file to enforce code review requirements 2025-03-12 08:15:21 +02:00
d7b0ca87b4 chore 📦: update project dependencies to latest versions 2025-03-12 06:46:14 +02: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
5557409368 chore 🔧: exclude test directories from published package 2025-03-10 21:12:32 +02:00
fb77b52800 docs 📝: add demo gif to README 2025-03-10 20:06:20 +02:00
4df6af76f7 ci 👷: add GitHub Actions workflow for linting and testing
Set up comprehensive CI pipeline with three jobs:

- Lint: Runs ESLint and type checking
- Test: Executes test suite with Coveralls integration
- Build: Verifies package builds correctly

The workflow uses pnpm and caches dependencies for faster runs.
2025-03-10 15:50:28 +02:00
d2b62d3995 chore 🔧: improve GitHub Actions workflow for release creation
- Fix workflow triggers to support both manual runs and tag pushes
- Add conditional logic to handle different event types
- Skip already existing releases to prevent errors
- Add completion messages for better feedback
- Improve error handling for the release creation process
2025-03-10 13:34:18 +02:00
1092b47f1c test : add coverage for shared utility functions
Add comprehensive tests for shared utility modules to improve code coverage:

- Test property name extraction edge cases
- Test CSS property priority map with invalid groups
- Test order strategy visitor creator edge cases
- Test font face property order enforcer early returns
- Test style node processor with arrays and null values

These tests ensure all code paths in shared utilities are properly exercised,
including error handling and edge cases.
2025-03-10 09:28:51 +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