2020-07-17 16:03:38 +08:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"es2020": true
|
|
|
|
},
|
|
|
|
"extends": ["eslint:recommended", "plugin:react/recommended", "prettier", "prettier/react"],
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true
|
|
|
|
},
|
|
|
|
"ecmaVersion": 11,
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"plugins": ["react"],
|
|
|
|
"rules": {
|
2020-07-30 15:06:29 +08:00
|
|
|
"react/react-in-jsx-scope": "off",
|
|
|
|
"react/prop-types": "off"
|
2020-07-17 16:03:38 +08:00
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"React": "writable"
|
|
|
|
}
|
|
|
|
}
|