We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 826d8c9 commit f36623bCopy full SHA for f36623b
src/index.ts
@@ -3,14 +3,17 @@ import { onlyExportComponents } from "./only-export-components.ts";
3
export const rules = {
4
"only-export-components": onlyExportComponents,
5
};
6
+
7
const plugin = { rules };
8
9
export const configs = {
10
recommended: {
11
+ name: "react-refresh/recommended",
12
plugins: { "react-refresh": plugin },
13
rules: { "react-refresh/only-export-components": "error" },
14
},
15
vite: {
16
+ name: "react-refresh/vite",
17
18
rules: {
19
"react-refresh/only-export-components": [
0 commit comments