openstellaris/frontend/.eslintrc.cjs

19 lines
437 B
JavaScript
Raw Permalink Normal View History

2023-12-29 22:36:27 +00:00
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
2024-01-01 03:38:14 +00:00
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
2023-12-29 22:36:27 +00:00
],
2024-01-01 03:38:14 +00:00
ignorePatterns: ["dist", ".eslintrc.cjs"],
parser: "@typescript-eslint/parser",
plugins: ["react-refresh"],
2023-12-29 22:36:27 +00:00
rules: {
2024-01-01 03:38:14 +00:00
"react-refresh/only-export-components": [
"warn",
2023-12-29 22:36:27 +00:00
{ allowConstantExport: true },
],
},
2024-01-01 03:38:14 +00:00
};