Update prettier/eslint
This commit is contained in:
@@ -1,33 +1,33 @@
|
|||||||
{
|
{
|
||||||
"root":true,
|
"root":true,
|
||||||
"env": {
|
"env": {
|
||||||
"browser": true,
|
"browser": true,
|
||||||
"es2021": true,
|
"es2021": true,
|
||||||
"node": true,
|
"node": true,
|
||||||
"jest/globals": true
|
"jest/globals": true
|
||||||
|
},
|
||||||
|
"extends": [
|
||||||
|
"eslint:recommended",
|
||||||
|
"plugin:react/recommended",
|
||||||
|
"plugin:prettier/recommended"
|
||||||
|
],
|
||||||
|
"parser": "babel-eslint",
|
||||||
|
"parserOptions": {
|
||||||
|
"ecmaFeatures": {
|
||||||
|
"jsx": true
|
||||||
},
|
},
|
||||||
"extends": [
|
"ecmaVersion": 12,
|
||||||
"eslint:recommended",
|
"sourceType": "module"
|
||||||
"plugin:react/recommended",
|
},
|
||||||
"plugin:prettier/recommended"
|
"plugins": [
|
||||||
],
|
"prettier",
|
||||||
"parser": "babel-eslint",
|
"react",
|
||||||
"parserOptions": {
|
"jest"
|
||||||
"ecmaFeatures": {
|
],
|
||||||
"jsx": true
|
"rules": {
|
||||||
},
|
"prettier/prettier": "warn",
|
||||||
"ecmaVersion": 12,
|
"react/prop-types": "warn",
|
||||||
"sourceType": "module"
|
"no-prototype-builtins": "warn",
|
||||||
},
|
"react/no-string-refs": "warn"
|
||||||
"plugins": [
|
}
|
||||||
"prettier",
|
|
||||||
"react",
|
|
||||||
"jest"
|
|
||||||
],
|
|
||||||
"rules": {
|
|
||||||
"prettier/prettier": "warn",
|
|
||||||
"react/prop-types": "warn",
|
|
||||||
"no-prototype-builtins": "warn",
|
|
||||||
"react/no-string-refs": "warn"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user