This commit is contained in:
ziuti committed 2026-10-20 10:18:53 +02:00
commit 1c259f38f0
47 files changed
+10054

No files matched your search

+22
View File
@@ -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,
]