Skip to content

Commit

Permalink
Merge pull request #626 from ably/eslint_specified_for_react
Browse files Browse the repository at this point in the history
Eslint compatible with different react version in eslint-plugin-react settings
  • Loading branch information
aralovelace authored Jan 31, 2025
2 parents 7d11ce2 + 4a68bb0 commit 44659b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,9 @@ module.exports = {
},
},
],
settings: {
react: {
version: "detect", // Automatically detect the React version
},
}
};

0 comments on commit 44659b5

Please sign in to comment.