mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-07 18:31:33 +01:00
Change jsx-no-bind to warn
This commit is contained in:
parent
9f8202c8a9
commit
adf3e2f376
@ -41,7 +41,8 @@ module.exports = {
|
||||
"react/jsx-uses-react": "error",
|
||||
|
||||
// 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,
|
||||
}],
|
||||
"react/jsx-key": ["error"],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user