2024-01-26 17:20:53 +00:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
env: { browser: true, es2020: true },
|
|
|
|
extends: [
|
2024-04-27 16:17:56 +00:00
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"plugin:react-hooks/recommended",
|
2024-01-26 17:20:53 +00:00
|
|
|
],
|
2024-04-27 16:17:56 +00:00
|
|
|
ignorePatterns: ["dist", ".eslintrc.cjs"],
|
|
|
|
parser: "@typescript-eslint/parser",
|
|
|
|
plugins: ["react-refresh"],
|
2024-01-26 17:20:53 +00:00
|
|
|
rules: {
|
2024-04-27 16:17:56 +00:00
|
|
|
"react-refresh/only-export-components": [
|
|
|
|
"warn",
|
2024-01-26 17:20:53 +00:00
|
|
|
{ allowConstantExport: true },
|
|
|
|
],
|
|
|
|
},
|
2024-04-27 16:17:56 +00:00
|
|
|
};
|