Merge remote-tracking branch 'origin/develop' into dbkr/update_eslint_plugin_react

pull/21833/head
David Baker 2018-05-02 17:37:00 +01:00
commit 59299cf16d
1 changed files with 2 additions and 1 deletions

View File

@ -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"],