mirror of
https://github.com/hanzo-apps/hanzo.ai.git
synced 2026-10-30 14:58:08 +00:00
@hanzo/ui 8.27.10 registers its gui config for the host, so style props are typed shorthand-only against a strict value set: the longhands this site wrote are renamed to the registered table, and its colour-mix strings, px strings and shadcn-vocabulary tokens map onto the ramp the config names. lucide-react 1 dropped its brand glyphs; simple-icons carries them. TypeScript 7 leaves typescript-eslint nothing to parse with, so ESLint and Babel go and oxlint lints in their place. Co-authored-by: Hanzo Dev <[email protected]>
12 lines
597 B
JSON
12 lines
597 B
JSON
{
|
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
"plugins": ["react"],
|
|
"ignorePatterns": ["out/**", ".next*/**", "public/**", ".claude/**", "**/*.d.ts", "deck/**"],
|
|
"rules": {
|
|
"react-hooks/rules-of-hooks": "error",
|
|
"react-hooks/exhaustive-deps": "warn",
|
|
"no-restricted-imports": ["error", { "paths": [{ "name": "framer-motion", "importNames": ["motion"], "message": "import { motion } from '@/components/motion' — a reveal may not hide content." }] }]
|
|
},
|
|
"overrides": [{ "files": ["components/motion.tsx"], "rules": { "no-restricted-imports": "off" } }]
|
|
}
|