chore: Add new eslint rule -- props-no-spreading (#1509)

This commit is contained in:
Rodrigo Antinarelli 2020-03-11 12:26:23 -03:00 committed by James A. Petts
parent 8c6daf5395
commit dd18de86f8
3 changed files with 6 additions and 10 deletions

View File

@ -14,6 +14,9 @@
"version": "detect" "version": "detect"
} }
}, },
"rules": {
"react/jsx-props-no-spreading": "error"
},
"globals": { "globals": {
"cy": true, "cy": true,
"before": true, "before": true,

View File

@ -73,7 +73,7 @@
"dotenv": "^8.1.0", "dotenv": "^8.1.0",
"eslint": "5.16.0", "eslint": "5.16.0",
"eslint-config-prettier": "^6.4.0", "eslint-config-prettier": "^6.4.0",
"eslint-config-react-app": "^4.0.1", "eslint-config-react-app": "^5.2.0",
"eslint-plugin-flowtype": "2.x", "eslint-plugin-flowtype": "2.x",
"eslint-plugin-import": "2.x", "eslint-plugin-import": "2.x",
"eslint-plugin-jsx-a11y": "6.x", "eslint-plugin-jsx-a11y": "6.x",

View File

@ -5454,7 +5454,7 @@ configstore@^5.0.0:
write-file-atomic "^3.0.0" write-file-atomic "^3.0.0"
xdg-basedir "^4.0.0" xdg-basedir "^4.0.0"
confusing-browser-globals@^1.0.7, confusing-browser-globals@^1.0.9: confusing-browser-globals@^1.0.9:
version "1.0.9" version "1.0.9"
resolved "https://registry.yarnpkg.com/confusing-browser-globals/-/confusing-browser-globals-1.0.9.tgz#72bc13b483c0276801681871d4898516f8f54fdd" resolved "https://registry.yarnpkg.com/confusing-browser-globals/-/confusing-browser-globals-1.0.9.tgz#72bc13b483c0276801681871d4898516f8f54fdd"
integrity sha512-KbS1Y0jMtyPgIxjO7ZzMAuUpAKMt1SzCL9fsrKsX6b0zJPTaT0SiSPmewwVZg9UAO83HVIlEhZF84LIjZ0lmAw== integrity sha512-KbS1Y0jMtyPgIxjO7ZzMAuUpAKMt1SzCL9fsrKsX6b0zJPTaT0SiSPmewwVZg9UAO83HVIlEhZF84LIjZ0lmAw==
@ -7334,14 +7334,7 @@ eslint-config-prettier@^6.4.0:
dependencies: dependencies:
get-stdin "^6.0.0" get-stdin "^6.0.0"
eslint-config-react-app@^4.0.1: eslint-config-react-app@^5.1.0, eslint-config-react-app@^5.2.0:
version "4.0.1"
resolved "https://registry.yarnpkg.com/eslint-config-react-app/-/eslint-config-react-app-4.0.1.tgz#23fd0fd7ea89442ef1e733f66a7207674b23c8db"
integrity sha512-ZsaoXUIGsK8FCi/x4lT2bZR5mMkL/Kgj+Lnw690rbvvUr/uiwgFiD8FcfAhkCycm7Xte6O5lYz4EqMx2vX7jgw==
dependencies:
confusing-browser-globals "^1.0.7"
eslint-config-react-app@^5.1.0:
version "5.2.0" version "5.2.0"
resolved "https://registry.yarnpkg.com/eslint-config-react-app/-/eslint-config-react-app-5.2.0.tgz#135110ba56a9e378f7acfe5f36e2ae76a2317899" resolved "https://registry.yarnpkg.com/eslint-config-react-app/-/eslint-config-react-app-5.2.0.tgz#135110ba56a9e378f7acfe5f36e2ae76a2317899"
integrity sha512-WrHjoGpKr1kLLiWDD81tme9jMM0hk5cMxasLSdyno6DdPt+IfLOrDJBVo6jN7tn4y1nzhs43TmUaZWO6Sf0blw== integrity sha512-WrHjoGpKr1kLLiWDD81tme9jMM0hk5cMxasLSdyno6DdPt+IfLOrDJBVo6jN7tn4y1nzhs43TmUaZWO6Sf0blw==