mirror of
https://github.com/artegoser/AnoPaper.git
synced 2024-11-06 04:53:56 +03:00
18 lines
462 B
JavaScript
18 lines
462 B
JavaScript
|
module.exports = {
|
||
|
env: { browser: true, es2020: true },
|
||
|
extends: [
|
||
|
"eslint:recommended",
|
||
|
"plugin:react/recommended",
|
||
|
"plugin:react/jsx-runtime",
|
||
|
"plugin:react-hooks/recommended",
|
||
|
],
|
||
|
parserOptions: { ecmaVersion: "latest", sourceType: "module" },
|
||
|
settings: { react: { version: "18.2" } },
|
||
|
plugins: ["react-refresh"],
|
||
|
rules: {
|
||
|
"react-refresh/only-export-components": "warn",
|
||
|
"react/prop-types": 0,
|
||
|
"no-undef": 0,
|
||
|
},
|
||
|
};
|