You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-31 13:44:28 +03:00
Change jsx-no-bind to warn
This commit is contained in:
@ -41,7 +41,8 @@ module.exports = {
|
|||||||
"react/jsx-uses-react": "error",
|
"react/jsx-uses-react": "error",
|
||||||
|
|
||||||
// bind or arrow function in props causes performance issues
|
// bind or arrow function in props causes performance issues
|
||||||
"react/jsx-no-bind": ["error", {
|
// (but we currently use them in some places)
|
||||||
|
"react/jsx-no-bind": ["warn", {
|
||||||
"ignoreRefs": true,
|
"ignoreRefs": true,
|
||||||
}],
|
}],
|
||||||
"react/jsx-key": ["error"],
|
"react/jsx-key": ["error"],
|
||||||
|
Reference in New Issue
Block a user