summaryrefslogtreecommitdiff
path: root/.eslintrc.yml
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2019-08-03 21:58:54 -0700
committerPhilip Chimento <philip.chimento@gmail.com>2019-08-13 22:17:34 -0700
commit0ed1c79f8aca238fe97b84dcd377e34400eef3b2 (patch)
tree4da1a1efdc6199d2bb06b5f7a68ca16863f8048d /.eslintrc.yml
parentd7a0e4a77fdd5d816d6b81b43ad9e7a23d835ec4 (diff)
downloadgjs-0ed1c79f8aca238fe97b84dcd377e34400eef3b2.tar.gz
CI: Add no-extra-bind to eslint rules
An unnecessary Function.bind() call is bad for performance, so we should warn if the binding is not necessary.
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 9e5b5d1c..08482876 100644
--- a/.eslintrc.yml
+++ b/.eslintrc.yml
@@ -69,6 +69,7 @@ rules:
no-empty:
- error
- allowEmptyCatch: true
+ no-extra-bind: error
no-implicit-coercion:
- error
- allow: