mirror of
https://github.com/hanzoai/ui.git
synced 2026-11-21 00:18:41 +00:00
Squash merge of shadcn-ui/ui main branch into hanzo/ui, bringing in: - [email protected] through [email protected] releases - New apps/v4 directory structure - Registry system improvements and MCP server - Framework support (Vue, Svelte, React Native) - New templates (vite-app, monorepo-next, laravel) - Zod 4 compatibility (scoped override for zod@>4) - Test fixture corrections for alias resolution All 867 merge conflicts resolved preserving Hanzo customizations. 1020/1020 shadcn tests pass.
36 lines
871 B
JavaScript
36 lines
871 B
JavaScript
import nextVitals from "eslint-config-next/core-web-vitals"
|
|
import { defineConfig, globalIgnores } from "eslint/config"
|
|
import tseslint from "typescript-eslint"
|
|
|
|
const eslintConfig = defineConfig([
|
|
...nextVitals,
|
|
...tseslint.configs.recommended,
|
|
globalIgnores([
|
|
"node_modules/**",
|
|
".next/**",
|
|
"out/**",
|
|
"build/**",
|
|
"next-env.d.ts",
|
|
".source/**",
|
|
"**/__index__.tsx",
|
|
]),
|
|
{
|
|
rules: {
|
|
"react-hooks/incompatible-library": "off",
|
|
"react-hooks/purity": "off",
|
|
"@next/next/no-html-link-for-pages": "off",
|
|
"@next/next/no-img-element": "off",
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
"@typescript-eslint/consistent-type-imports": [
|
|
"error",
|
|
{
|
|
prefer: "type-imports",
|
|
fixStyle: "inline-type-imports",
|
|
},
|
|
],
|
|
},
|
|
},
|
|
])
|
|
|
|
export default eslintConfig
|