Files
hanzo.ai/.oxlintrc.json
zeekayandHanzo Dev 23e4609f43 Lift every dependency to its latest
@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]>
2026-09-07 22:22:46 -07:00

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" } }]
}