Skip to content

Commit de63698

Browse files
gibfahnMylesBorins
authored andcommitted
tools, test: require const/let in test
Backport-PR-URL: #11775 PR-URL: #10685 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
1 parent f928746 commit de63698

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/.eslintrc.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
## Test-specific linter rules
22

33
rules:
4+
# ECMAScript 6
5+
# http://eslint.org/docs/rules/#ecmascript-6
6+
no-var: 2
7+
prefer-const: 2
8+
49
## common module is mandatory in tests
510
required-modules: [2, common]
611
prefer-assert-methods: 2

0 commit comments

Comments
 (0)