TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: ESLint plugin for vanilla-extract CSS

1 点作者 abudimir2 个月前
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.

暂无评论

暂无评论