TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: ESLint plugin for vanilla-extract CSS

1 pointsby abudimir2 months ago
I&#x27;ve created an ESLint plugin specifically for vanilla-extract CSS. This plugin aims to improve code quality and catch common errors when working with vanilla-extract in your projects.<p>Key features:<p>- Enforces CSS property ordering in all vanilla-extract APIs (alphabetical, concentric, and custom) - Built for ESLint 9 flat config system - Provides auto-fix capability to automatically sort properties - Handles complex cases like nested objects, arrays of styles, and pseudo selectors - Additional linting rules for enhanced code quality (see roadmap for upcoming features)<p>As a dev using vanilla-extract CSS in my projects, I found myself missing a linting plugin for it. I find it helps maintain a cleaner, more efficient codebase. The plugin is open-source and contributions are welcome.

no comments

no comments