mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-29 07:34:11 +00:00
* feat: add v3 * feat: upgrade lucide-react * feat: upgrade components to Tailwind v4 * feat(v3): add dark mode * wip * feat: components upgrade * style: format * feat: add select * feat: more components * feat: more components * fix: shadow * feat: upgrade sidebar * refactor: registry * refactor: internal * fix: registry * fix: charts * chore: build registry * fix: charts * feat: form * feat: clean up * fix: icons * fix: command demo * chore: add new-york-v4 to registry * fix: revert command in www registry * fix * chore: fix tests * fix: types * fix: lint errors * chore: build v4 registry * fix * fix: types
22 lines
471 B
JavaScript
22 lines
471 B
JavaScript
import { dirname } from "path"
|
|
import { fileURLToPath } from "url"
|
|
import { FlatCompat } from "@eslint/eslintrc"
|
|
|
|
const __filename = fileURLToPath(import.meta.url)
|
|
const __dirname = dirname(__filename)
|
|
|
|
const compat = new FlatCompat({
|
|
baseDirectory: __dirname,
|
|
})
|
|
|
|
const eslintConfig = [
|
|
...compat.config({
|
|
extends: ["next/core-web-vitals", "next/typescript"],
|
|
rules: {
|
|
"@next/next/no-duplicate-head": "off",
|
|
},
|
|
}),
|
|
]
|
|
|
|
export default eslintConfig
|