test: Add two more eslint plugin to follow best practices and

anticipate common mistakes

eslint-plugin-testing-library: for writing tests with Testing Library
eslint-plugin-jest-dom: for writing tests with jest-dom
This commit is contained in:
Xiaofeng Wang 2020-11-06 09:33:06 +08:00 committed by Sanne Raymaekers
parent afdfb6f387
commit d4cb1c4d6b
2 changed files with 11 additions and 1 deletions

View file

@ -52,7 +52,9 @@
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-loader": "^3.0.3",
"eslint-plugin-jest-dom": "^3.2.4",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-testing-library": "^3.10.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.1.0",
"npm-run-all": "^4.1.5",