Skip to content

Commit

Permalink
feat: update dependencies & add new rules (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey authored Sep 4, 2021
1 parent 4ec2cf4 commit 12fb072
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
1 change: 1 addition & 0 deletions jest.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const rules = {
'jest/consistent-test-it': 'off',
'jest/expect-expect': 'off',
'jest/lowercase-name': 'off',
'jest/max-nested-describe': 'error',
'jest/no-alias-methods': 'off',
'jest/no-commented-out-tests': 'warn',
'jest/no-conditional-expect': 'error',
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,35 +33,35 @@
},
"homepage": "https://github.com/kentcdodds/eslint-config-kentcdodds#readme",
"dependencies": {
"@babel/core": "^7.14.6",
"@babel/eslint-parser": "^7.14.7",
"@babel/core": "^7.15.5",
"@babel/eslint-parser": "^7.15.4",
"@babel/eslint-plugin": "^7.14.5",
"@babel/preset-react": "^7.14.5",
"@typescript-eslint/eslint-plugin": "^4.28.4",
"@typescript-eslint/parser": "^4.28.4",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-jest-dom": "^3.9.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react": "^7.25.1",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-testing-library": "^4.9.1",
"eslint-plugin-testing-library": "^4.12.0",
"read-pkg-up": "^7.0.1",
"semver": "^7.3.5"
},
"devDependencies": {
"@testing-library/dom": "^7.31.2",
"@testing-library/jest-dom": "^5.14.1",
"eslint": "^7.31.0",
"eslint": "^7.32.0",
"eslint-find-rules": "^3.6.1",
"husky": "^6.0.0",
"jest": "^27.0.6",
"jest": "^27.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.2",
"pretty-quick": "^3.1.1",
"react": "^17.0.2",
"typescript": "^4.3.5"
"typescript": "^4.4.2"
},
"peerDependencies": {
"eslint": "^7.5.0",
Expand Down
1 change: 1 addition & 0 deletions react.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ module.exports = {
'react/no-unused-state': 'error',
'react/no-will-update-set-state': 'error',
'react/prefer-es6-class': 'off',
'react/prefer-exact-props': 'off',
'react/prefer-read-only-props': 'off',
'react/prefer-stateless-function': 'off',
'react/prop-types': hasPropTypes ? 'error' : 'off',
Expand Down

0 comments on commit 12fb072

Please sign in to comment.