Skip to content

Commit b875376

Browse files
committed
Update eslint-plugin-react to latest version
This requires ignoring a new rule added since the last version. More information at the following links: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/no-unknown-property.md jsx-eslint/eslint-plugin-react#3384 (comment)
1 parent 89b099e commit b875376

File tree

3 files changed

+93
-66
lines changed

3 files changed

+93
-66
lines changed

.eslintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ module.exports = {
1414
'comma-dangle': ['error', 'always-multiline'],
1515
'react/jsx-tag-spacing': 'off',
1616
'react/prop-types': 'off',
17+
'react/no-unknown-property': ['error', { ignore: ['css'] }],
1718
'no-warning-comments': 'off',
1819
'complexity': 'off',
1920
'@typescript-eslint/strict-boolean-expressions': 'off',

package-lock.json

+91-65
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"eslint-config-xo-space": "0.34.0",
7474
"eslint-config-xo-typescript": "0.53.0",
7575
"eslint-plugin-import": "2.27.5",
76-
"eslint-plugin-react": "7.31.1",
76+
"eslint-plugin-react": "7.32.2",
7777
"eslint-plugin-react-hooks": "4.6.0",
7878
"typescript": "4.9.5",
7979
"gh-pages": "^4.0.0"

0 commit comments

Comments
 (0)