We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b23c7a4 commit 4c68571Copy full SHA for 4c68571
1 file changed
eslint.config.js
@@ -39,7 +39,11 @@ export default tseslint.config(
39
},
40
rules: {
41
...reactHooks.configs.recommended.rules, // Apply React Hooks rules
42
- "react-refresh/only-export-components": ["warn", { allowConstantExport: true }],
+ // prettier-ignore
43
+ "react-refresh/only-export-components": [
44
+ "warn",
45
+ { allowConstantExport: true },
46
+ ],
47
"react/react-in-jsx-scope": "off", // Not needed with React 17+ and Vite
48
"react/prop-types": "off", // Disable prop-types rule if using TypeScript
49
0 commit comments