Skip to content

Commit

Permalink
feat(jest-dom): add new rule from jest-dom (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmonro committed Aug 31, 2020
1 parent 756d2e5 commit 1a27012
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions jest.js
Expand Up @@ -85,6 +85,7 @@ module.exports = {
'jest-dom/prefer-focus': 'error',
'jest-dom/prefer-required': 'error',
'jest-dom/prefer-to-have-attribute': 'error',
'jest-dom/prefer-to-have-style': 'error',
'jest-dom/prefer-to-have-text-content': 'error',
}
: null),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -39,7 +39,7 @@
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-jest-dom": "^2.1.0",
"eslint-plugin-jest-dom": "^3.2.1",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-hooks": "^4.1.0",
Expand Down

0 comments on commit 1a27012

Please sign in to comment.