27 lines
599 B
JavaScript
27 lines
599 B
JavaScript
/** @type {import('eslint').Linter.Config} */
|
|
const config = {
|
|
extends: [
|
|
"plugin:react/recommended",
|
|
"plugin:react-hooks/recommended",
|
|
"plugin:jsx-a11y/recommended",
|
|
],
|
|
rules: {
|
|
"react/prop-types": "off",
|
|
"jsx-a11y/no-autofocus": "off",
|
|
"jsx-a11y/label-has-associated-control": "off",
|
|
"react-hooks/exhaustive-deps": "off",
|
|
},
|
|
globals: {
|
|
React: "writable",
|
|
},
|
|
settings: {
|
|
react: {
|
|
version: "detect",
|
|
},
|
|
},
|
|
env: {
|
|
browser: true,
|
|
},
|
|
};
|
|
|
|
module.exports = config; |