Skip to content

Commit

Permalink
fix(eslint): disable rule until plugin is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
chohner committed Sep 12, 2024
1 parent f091d52 commit ccebcbf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ module.exports = {
"plugin:jsx-a11y/recommended",
],
settings: {
react: {
version: "detect",
},
react: { version: "detect" },
formComponents: ["Form"],
linkComponents: [
{ name: "Link", linkAttribute: "to" },
Expand All @@ -43,6 +41,7 @@ module.exports = {
},
rules: {
"react/jsx-no-leaked-render": ["off", { validStrategies: ["ternary"] }], // enable later
"react/no-is-mounted": "off", // Re-enable once bug is fixed: https://github.com/jsx-eslint/eslint-plugin-react/issues/3819
},
},

Expand Down

0 comments on commit ccebcbf

Please sign in to comment.