Commit graph

12 commits

Author SHA1 Message Date
175ce9aef8 feat 🥁: add no-empty-style-blocks rule
Add comprehensive rule to detect and prevent empty CSS style blocks:

- Identify style objects with no properties
- Flag empty style blocks as potential code quality issues
- Provide auto-fix capability to remove empty blocks
- Handle edge cases like comments-only blocks

This rule helps maintain cleaner codebases by eliminating empty style definitions that often result from incomplete refactoring or forgotten implementations, reducing confusion and unnecessary code.
2025-04-06 16:34:35 +03: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
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
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
3e9bad1b02 feat 🥁: implement special ordering for fontFace APIs
- Ensure 'src' property always appears first
- Sort remaining properties alphabetically
- Handle both APIs correctly despite different argument structures
- Handles font faces ordering the same in all 3 available CSS rules
- Update documentation with fontFace ordering details
2025-03-08 23:05:23 +02:00
8916be7d16 docs 📝: update milestones 2025-03-07 11:15:10 +02:00
dea0a328cf feat 🥁: add support for linting keyframes and globalKeyframes 2025-03-06 06:23:54 +02:00
44aba9484a feat 🥁: lower minimum Node.js version to 18.18.0 2025-03-05 14:53:22 +02:00
87acd612ea docs 📝: add npm version badge and link to vanilla-extract 2025-03-04 22:18:10 +02:00
88a9d4382f chore 🔧: add sample CSS file for linting demo during development 2025-03-04 20:30:25 +02:00
d569dea1fb feat 🥁: initialize project with complete codebase 2025-03-04 20:16:50 +02:00