Add eslint's "no-var" rule
authorFrank Bessou <frank.bessou@logilab.fr>
Tue, 18 Apr 2017 14:50:22 +0200
changeset 126 ea6ec8069edd
parent 125 abb84605bad5
child 127 fa463ba929c3
Add eslint's "no-var" rule
.eslintrc.yml
--- a/.eslintrc.yml	Tue Apr 18 14:47:44 2017 +0200
+++ b/.eslintrc.yml	Tue Apr 18 14:50:22 2017 +0200
@@ -33,6 +33,7 @@
   no-trailing-spaces: [2]
   no-unused-vars: ["error", {"argsIgnorePattern": "_$"}]
   no-use-before-define: [2, "nofunc"]
+  no-var: "error"
   object-curly-spacing: ["error", "never"]
   object-shorthand: off
   prefer-const: "error"