Skip to content

Commit 1de5dc0

Browse files
authored
fix(eslint-config): removing react/default-props-match-prop-types lint rule
Getting rid of `react/default-props-match-prop-types` linting rule to avoid build failures.
1 parent cac5b23 commit 1de5dc0

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

packages/eslint-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"eslint-plugin-jsx-a11y": "^6.4.1",
3535
"eslint-plugin-no-only-tests": "^2.6.0",
3636
"eslint-plugin-react": "^7.26.1",
37-
"eslint-plugin-react-hooks": "^4.2.0",
37+
"eslint-plugin-react-hooks": "^4.3.0",
3838
"eslint-plugin-simple-import-sort": "^7.0.0",
3939
"eslint-plugin-unused-imports": "^1.1.5",
4040
"yargs": "^17.1.1"

packages/eslint-config/rules/typescript.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const tsConfig = {
1717

1818
// These are no longer necessary now that we have TypeScript
1919
'react/prop-types': 'off',
20+
'react/default-props-match-prop-types': 'off',
2021
},
2122
};
2223

yarn.lock

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5073,11 +5073,6 @@ eslint-plugin-no-only-tests@^2.6.0:
50735073
resolved "https://registry.npmjs.org/eslint-plugin-no-only-tests/-/eslint-plugin-no-only-tests-2.6.0.tgz#19f6c9620bda02b9b9221b436c5f070e42628d76"
50745074
integrity sha512-T9SmE/g6UV1uZo1oHAqOvL86XWl7Pl2EpRpnLI8g/bkJu+h7XBCB+1LnubRZ2CUQXj805vh4/CYZdnqtVaEo2Q==
50755075

5076-
eslint-plugin-react-hooks@^4.2.0:
5077-
version "4.2.0"
5078-
resolved "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.2.0.tgz#8c229c268d468956334c943bb45fc860280f5556"
5079-
integrity sha512-623WEiZJqxR7VdxFCKLI6d6LLpwJkGPYKODnkH3D7WpOG5KM8yWueBd8TLsNAetEJNF5iJmolaAKO3F8yzyVBQ==
5080-
50815076
eslint-plugin-react-hooks@^4.3.0:
50825077
version "4.3.0"
50835078
resolved "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.3.0.tgz#318dbf312e06fab1c835a4abef00121751ac1172"

0 commit comments

Comments
 (0)