about summary refs log tree commit diff
path: root/.eslintrc.yml
diff options
context:
space:
mode:
authorSorin Davidoi <sorin.davidoi@gmail.com>2017-05-19 20:58:12 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-05-19 20:58:12 +0200
commit1548695c8300618d44efa8785f5c6eb7b3a86917 (patch)
tree52a60cdccd40bc0961f1af0915c300316c92925f /.eslintrc.yml
parent3da521a58663f94b6e6a74d6d91d72a8e9fa7a73 (diff)
Avoid useless renders (#3141)
* feat(eslint): Set react/jsx-no-bind: error

* refactor(notifications/setting_toggle): Do not use bind

* refactor(components/dropdown_menu): Do not use bind

* refactor(components/autosuggest_textarea): Do not use bind

* refactor(compose/privacy_dropdown): Do not use bind

* refactor(compose/upload_form): Do not use bind

* refactor(components/status): Do not use bind

* refactor(components/onboarding_modal): Do not use bind

* refactor: PR feedback

* chore(notifications/setting_toggle): Lint

* refactor: PR feedback
Diffstat (limited to '.eslintrc.yml')
-rw-r--r--.eslintrc.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml
index aa23bebbf..12bdf342a 100644
--- a/.eslintrc.yml
+++ b/.eslintrc.yml
@@ -49,6 +49,7 @@ rules:
   no-trailing-spaces: warn
 
   react/jsx-wrap-multilines: error
+  react/jsx-no-bind: error
   react/self-closing-comp: error
   react/prop-types: error
   react/no-multi-comp: off