diff options
author | Philip Chimento <philip.chimento@gmail.com> | 2019-08-03 21:58:54 -0700 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2019-08-13 22:17:34 -0700 |
commit | 0ed1c79f8aca238fe97b84dcd377e34400eef3b2 (patch) | |
tree | 4da1a1efdc6199d2bb06b5f7a68ca16863f8048d /.eslintrc.yml | |
parent | d7a0e4a77fdd5d816d6b81b43ad9e7a23d835ec4 (diff) | |
download | gjs-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.yml | 1 |
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: |