Skip to content

Commit 4c68571

Browse files
committed
chore: config
1 parent b23c7a4 commit 4c68571

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

eslint.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ export default tseslint.config(
3939
},
4040
rules: {
4141
...reactHooks.configs.recommended.rules, // Apply React Hooks rules
42-
"react-refresh/only-export-components": ["warn", { allowConstantExport: true }],
42+
// prettier-ignore
43+
"react-refresh/only-export-components": [
44+
"warn",
45+
{ allowConstantExport: true },
46+
],
4347
"react/react-in-jsx-scope": "off", // Not needed with React 17+ and Vite
4448
"react/prop-types": "off", // Disable prop-types rule if using TypeScript
4549
},

0 commit comments

Comments
 (0)