2023-06-04 04:28:07 +02:00
|
|
|
module.exports = {
|
2023-07-20 20:14:23 +02:00
|
|
|
"env": { "browser": true, "es2020": true },
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:react/recommended",
|
|
|
|
"plugin:react/jsx-runtime",
|
|
|
|
"plugin:react-hooks/recommended"
|
2023-06-04 04:28:07 +02:00
|
|
|
],
|
2023-07-20 20:14:23 +02:00
|
|
|
"files": ["**/*.js", "**/*.jsx"],
|
|
|
|
"linterOptions": { "reportUnusedDisableDirectives": true },
|
|
|
|
"parserOptions": { "ecmaVersion": "latest", "sourceType": "module", "ecmaFeatures": { "jsx": true } },
|
|
|
|
"settings": { "react": { "version": '18.2' } },
|
|
|
|
"plugins": [
|
|
|
|
"react-refresh",
|
|
|
|
"react-hooks"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"react-refresh/only-export-components": "warn"
|
|
|
|
}
|
2023-06-04 04:28:07 +02:00
|
|
|
}
|