From 0ed1c79f8aca238fe97b84dcd377e34400eef3b2 Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Sat, 3 Aug 2019 21:58:54 -0700 Subject: 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. --- .eslintrc.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.eslintrc.yml') 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: -- cgit v1.2.1