shadcn
This commit is contained in:
commit
1c259f38f0
47 files changed
+10054
No files matched your search
+22
@@ -0,0 +1,22 @@
|
||||
import pluginReactHooks from "eslint-plugin-react-hooks"
|
||||
import globals from "globals"
|
||||
|
||||
import { config as baseConfig } from "./base.js"
|
||||
|
||||
/**
|
||||
* A custom ESLint configuration for libraries that use React.
|
||||
*
|
||||
* @type {import("eslint").Linter.Config[]}
|
||||
*/
|
||||
export const config = [
|
||||
...baseConfig,
|
||||
{
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...globals.serviceworker,
|
||||
...globals.browser,
|
||||
},
|
||||
},
|
||||
},
|
||||
pluginReactHooks.configs.flat.recommended,
|
||||
]
|
||||
Reference in new issue
Block a user