code-baseline 1.6.0

Enforce architectural decisions AI coding tools keep ignoring
Documentation
[baseline]
name = "shadcn-themed-project"
extends = ["shadcn-strict"]
include = ["src/**/*"]
exclude = ["**/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"