mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-08-29 02:25:26 +00:00
suppress eslint only-export-components rule
This commit is contained in:
@@ -6,7 +6,7 @@ module.exports = {
|
||||
"plugin:react/recommended",
|
||||
"plugin:react/jsx-runtime",
|
||||
"plugin:react-hooks/recommended",
|
||||
"prettier"
|
||||
"prettier",
|
||||
],
|
||||
ignorePatterns: ["dist", ".eslintrc.cjs"],
|
||||
parserOptions: { ecmaVersion: "latest", sourceType: "module" },
|
||||
@@ -18,5 +18,6 @@ module.exports = {
|
||||
{ allowConstantExport: true },
|
||||
],
|
||||
"react/prop-types": 0,
|
||||
"react-refresh/only-export-components": "off",
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user