[]
= "shadcn-themed-project"
= ["shadcn-strict"]
= ["src/**/*"]
= ["**/node_modules/**", "**/dist/**"]
# The "shadcn-strict" preset includes:
# enforce-dark-mode (error) — dark: variant required for color classes
# use-theme-tokens (error) — raw Tailwind colors → shadcn tokens
# no-inline-styles (warning) — ban style={{ }}
# no-css-in-js (error) — ban styled-components, emotion
# no-competing-frameworks (error) — ban bootstrap, MUI, antd
# Override a preset rule by redeclaring it with the same id:
# [[rule]]
# id = "use-theme-tokens"
# type = "tailwind-theme-tokens"
# severity = "warning"
# glob = "**/*.{tsx,jsx}"
# message = "Use shadcn semantic token instead of raw color"