Skip to content

Commit a7366f4

Browse files
committed
suppress eslint only-export-components rule
1 parent b3e3cc5 commit a7366f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.eslintrc.cjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = {
66
"plugin:react/recommended",
77
"plugin:react/jsx-runtime",
88
"plugin:react-hooks/recommended",
9-
"prettier"
9+
"prettier",
1010
],
1111
ignorePatterns: ["dist", ".eslintrc.cjs"],
1212
parserOptions: { ecmaVersion: "latest", sourceType: "module" },
@@ -18,5 +18,6 @@ module.exports = {
1818
{ allowConstantExport: true },
1919
],
2020
"react/prop-types": 0,
21+
"react-refresh/only-export-components": "off",
2122
},
2223
};

0 commit comments

Comments
 (0)