Skip to content

Commit f36623b

Browse files
authored
fix: added name attribute for eslint config inspector (#77)
1 parent 826d8c9 commit f36623b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.ts

+3
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@ import { onlyExportComponents } from "./only-export-components.ts";
33
export const rules = {
44
"only-export-components": onlyExportComponents,
55
};
6+
67
const plugin = { rules };
78

89
export const configs = {
910
recommended: {
11+
name: "react-refresh/recommended",
1012
plugins: { "react-refresh": plugin },
1113
rules: { "react-refresh/only-export-components": "error" },
1214
},
1315
vite: {
16+
name: "react-refresh/vite",
1417
plugins: { "react-refresh": plugin },
1518
rules: {
1619
"react-refresh/only-export-components": [

0 commit comments

Comments
 (0)