claude-video-effects
51 video effects for Claude Code: drop in a talking-head clip, type /effects orbit. Face tracking, behind-your-head layers. By @vibha.in.progress
翻译准备中
Tailwind CSS v4 lint rules for oxlint that read your design system: unknown, conflicting and deprecated classes, theme colors and class order, with autofixes.
翻译准备中
正在加载完整 README。
查看完整 README ↗Tailwind CSS v4 linting rules for oxlint — fast, deterministic, with typo suggestions and autofixes.
Documentation · Documentación (ES) · Rules · Changelog
27 lint rules that catch invalid classes, conflicts, and deprecated utilities, and keep your class
strings canonical and sorted — reading your real Tailwind v4 design system (@theme tokens, shadcn
variables, typography plugin) for exact, machine-independent results.
// oxlint-tailwindcss flags this:
<div className="flex itms-center bg-blu-500 text-red-500 text-blue-500 flex-grow" />
// ^^^^^^^^^^^ "itms-center" → did you mean "items-center"? (no-unknown-classes)
// ^^^^^^^^^^ "bg-blu-500" → did you mean "bg-blue-500"?
// text-red-500 / text-blue-500 both set "color" (no-conflicting-classes)
// ^^^^^^^^^ "flex-grow" is deprecated in v4 → "grow" (no-deprecated-classes)
// ...and autofixes this:
<div className="text-red-500 flex items-center p-4" /> → <div className="flex items-center p-4 text-red-500" />
// (enforce-sort-order — identical output to oxfmt and prettier-plugin-tailwindcss)
@theme { … } tokens, shadcn variables, and
@plugin/@import plugins (@tailwindcss/typography, tailwindcss-animate, tw-animate-css)..oxlintrc.json per
package. Both fully deterministic.designSystemUnavailable diagnostic with an
actionable hint, never silently skipped rules, and a misspelt setting is named with the one you
meant.@tailwindcss/node, tailwindcss).pnpm add -D oxlint-tailwindcss
Add the plugin and your Tailwind entry point to .oxlintrc.json:
{
"jsPlugins": ["oxlint-tailwindcss"],
"settings": {
"tailwindcss": {
"entryPoint": "src/styles.css", // your CSS file with @import "tailwindcss"
},
},
"rules": {
"tailwindcss/no-unknown-classes": "error",
"tailwindcss/no-conflicting-classes": "error",
"tailwindcss/enforce-sort-order": "warn",
},
}
Then run oxlint. See the Setup guide for the
recommended full rule set, monorepo patterns, and all settings.tailwindcss options.
Upgrading from v0.x?
settings.tailwindcss.entryPointis now required — see the migration guide.
27 rules across four categories. Every rule has a dedicated docs page (EN/ES) with examples and options.
Correctness — no-conflicting-classes · no-contradicting-variants · no-dark-without-light ·
no-duplicate-classes · no-dynamic-classes · no-unknown-classes
Modernization — enforce-canonical · enforce-negative-arbitrary-values ·
no-deprecated-classes · no-unnecessary-arbitrary-value · prefer-scale-token ·
prefer-theme-tokens
Consistency — consistent-variant-order · enforce-consistent-important-position ·
enforce-consistent-line-wrapping · enforce-consistent-variable-syntax · enforce-logical ·
enforce-physical · enforce-shorthand · enforce-sort-order · no-unnecessary-whitespace
Design-system guardrails — max-class-count · no-arbitrary-value ·
no-borrowed-component-styles (experimental) · no-default-palette · no-hardcoded-colors ·
no-restricted-classes
Classes are detected in className/class attributes, 14 utility helpers (cn, clsx, cva,
tv, twMerge, …), tw tagged templates, and variables matching /^classNames?$/, /^classes$/,
/^styles?$/ (e.g. className, classNames, classes, styles) — all extendable via
settings.tailwindcss.
Files: everything oxlint lints — .js, .jsx, .ts, .tsx, .mjs, .cjs, .mts, .cts.
In .vue, .svelte and .astro files oxlint only passes plugins the <script> blocks (and
Astro's frontmatter), so template and markup classes are not checked yet — see
Vue, Svelte & Astro.
npx skills add sergioazoc/oxlint-tailwindcss --skill oxlint-tailwindcss # the skill, for any agent
In Claude Code, /plugin marketplace add sergioazoc/oxlint-tailwindcss and
/plugin install oxlint-tailwindcss@oxlint-tailwindcss add the plugin: diagnostics as Claude edits,
and a check of the files it edited before it finishes. See
AI coding agents.
以上为 README 的开头部分。其余内容请阅读原文。 查看完整 README ↗