profileShare

rasmusjy / tasteprint

Read-only snapshot

No repository description.

main default branch 169 files Expires Sep 13, 2026, 9:06 AM
eslint.config.js 670 bytes
1 import eslint from "@eslint/js";
2 import reactHooks from "eslint-plugin-react-hooks";
3 import reactRefresh from "eslint-plugin-react-refresh";
4 import tseslint from "typescript-eslint";
5
6 export default tseslint.config(
7 { ignores: ["dist", "coverage"] },
8 eslint.configs.recommended,
9 ...tseslint.configs.recommended,
10 {
11 files: ["**/*.{ts,tsx}"],
12 languageOptions: {
13 ecmaVersion: 2022
14 },
15 plugins: {
16 "react-hooks": reactHooks,
17 "react-refresh": reactRefresh
18 },
19 rules: {
20 ...reactHooks.configs.recommended.rules,
21 "react-hooks/set-state-in-effect": "off",
22 "react-refresh/only-export-components": "off"
23 }
24 }
25 );
26