设计资源DESIGN· FIGMA
francoismassart/eslint-plugin-tailwindcss
在编码时自动检查Tailwind CSS类名顺序和冲突的ESLint插件An ESLint plugin that catches common Tailwind CSS mistakes as you code, helping you keep your utility classes consistent and correct.
根据公开文档整理,未运行实测;费用以项目官网为准。Based on public documentation, without runtime testing. Check the project site for pricing.
能力CAPABILITIES
保持 Tailwind 类名顺序一致
禁止使用任意值作为类名
限制自定义类名只允许特定模式
发现并警告矛盾的类名组合
自定义检查属性和函数中的类名
Enforce consistent class ordering in your templates
Warn about contradictory class names that cancel each other
Flag arbitrary values that might break your design
Allow custom class names via a whitelist
Detect invalid or misspelled Tailwind classes
上手GET STARTED
文档里没有找到可识别的安装命令。这类项目按发布规则不会进入榜单,只能在这里查看。No recognisable install command was found in the docs. Projects like this never enter the ranked list under our publishing rules — they are viewable here only.
在项目根目录执行 `npm i -D eslint-plugin-tailwindcss`Install it as a dev dependency with npm i -D eslint-plugin-tailwindcss, or use pnpm.
使用限制LIMITATIONS
以下要求与风险来自文档静态检查,未执行项目代码;扫描没有命中,不代表使用安全。Risk here is evidence, not an alarm. These findings come from static scanning of the docs; we never execute a project’s code.
限制LIMITS
未知Unknown
静态扫描STATIC SCAN
在 README、SKILL.md 和依赖清单中没有匹配到已知风险模式。No known risk patterns matched in the README, SKILL.md or dependency list.
静态扫描未发现明显风险,但不代表安全The static scan found no known risk patterns in the documentation, but that does not prove the plugin is completely safe. Review the source code if you need higher assurance.
项目动态PROJECT ACTIVITY
首次发现FIRST SEEN
03 OCT 202603 OCT 2026
增长GROWTH
-0.0%-0.0%
2.1k → 2.1k stars · 49 个快照2.1k → 2.1k stars · 49 snapshots
讨论DISCUSSION
1 SOURCES1 SOURCES
1 条外部提及1 external mentions
状态STATUS
持续活跃Active
它提供多个现成规则,能自动检查 Tailwind 类名顺序、重复或冲突的类,适合维护代码一致性。Supports Tailwind CSS v4 via a CSS config file path
HN_STORY · 1 points · 1 comments
依赖:Dependencies:@typescript-eslint/utils, postcss, postcss-nested, synckit, tailwind-api-utils, eslint, tailwindcss
{
"agents": [],
"apiKey": null,
"docker": null,
"taxonomy": {
"scores": {
"design": 3,
"ai-tools": 0,
"dev-tools": 1,
"indie-web": 0,
"skill-agent": 0,
"productivity": 0
},
"primary": "design",
"secondary": "figma"
},
"localRuntime": null,
"skillMdTotal": 0,
"skillMdErrors": [],
"treeTruncated": false,
"categoryScores": {
"data": 0,
"agent": 0,
"media": 0,
"design": 9,
"browser": 0,
"devtool": 1,
"security": 0,
"marketing": 0,
"productivity": 0
},
"classification": [],
"scannedSources": [
"readme"
],
"skillMdFetched": 0
}