diff --git a/test/.eslintrc.yaml b/test/.eslintrc.yaml index 5e73630174e75e..e76bd632e6927c 100644 --- a/test/.eslintrc.yaml +++ b/test/.eslintrc.yaml @@ -1,7 +1,13 @@ ## Test-specific linter rules rules: - ## common module is mandatory in tests - required-modules: [2, common] + # ECMAScript 6 + # http://eslint.org/docs/rules/#ecmascript-6 + no-var: 2 + prefer-const: 2 + + # Custom rules in tools/eslint-rules prefer-assert-iferror: 2 prefer-assert-methods: 2 + ## common module is mandatory in tests + required-modules: [2, common]