bot-image-moderation-fe/.eslintrc.cjs

19 lines
437 B
JavaScript
Raw Normal View History

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-04-27 16:17:56 +00:00
ignorePatterns: ["dist", ".eslintrc.cjs"],
parser: "@typescript-eslint/parser",
plugins: ["react-refresh"],
rules: {
2024-04-27 16:17:56 +00:00
"react-refresh/only-export-components": [
"warn",
{ allowConstantExport: true },
],
},
2024-04-27 16:17:56 +00:00
};