From 3ed44d44e77e7be2e75ed4e5dc953ee82e733280 Mon Sep 17 00:00:00 2001 From: Gibson Fahnestock Date: Sun, 8 Jan 2017 15:23:00 +0000 Subject: [PATCH] tools, test: require const/let in test --- test/.eslintrc.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/.eslintrc.yaml b/test/.eslintrc.yaml index 172c0bfb9d08bf..31d1de1c6b3e90 100644 --- a/test/.eslintrc.yaml +++ b/test/.eslintrc.yaml @@ -1,6 +1,11 @@ ## Test-specific linter rules rules: + # ECMAScript 6 + # http://eslint.org/docs/rules/#ecmascript-6 + no-var: 2 + prefer-const: 2 + ## common module is mandatory in tests required-modules: [2, "common"]