52 lines
1.2 KiB
JSON
52 lines
1.2 KiB
JSON
// module.exports = {
|
|
// "env": {
|
|
// "browser": true,
|
|
// "es2021": true,
|
|
// "jest": true
|
|
// },
|
|
// "extends": [
|
|
// "eslint:recommended",
|
|
// "plugin:react/recommended"
|
|
// ],
|
|
// "overrides": [
|
|
// {
|
|
// "env": {
|
|
// "node": true
|
|
// },
|
|
// "files": [
|
|
// ".eslintrc.{js,cjs,jsx}"
|
|
// ],
|
|
// "parserOptions": {
|
|
// "sourceType": "script"
|
|
// }
|
|
// }
|
|
// ],
|
|
// "parserOptions": {
|
|
// "ecmaVersion": "latest",
|
|
// "sourceType": "module"
|
|
// },
|
|
// "plugins": [
|
|
// "react"
|
|
// ],
|
|
// "rules": {
|
|
// "react/react-in-jsx-scope": "off"
|
|
// }
|
|
// }
|
|
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true
|
|
},
|
|
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:react-hooks/recommended"],
|
|
"parserOptions": {
|
|
"ecmaVersion": 12,
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
}
|
|
},
|
|
// "plugins": ["react", "react-hooks"],
|
|
"rules": {
|
|
//add customize rules here as per your project's needs
|
|
}
|
|
} |