Skip to content

Commit 3ed44d4

Browse files
committed
tools, test: require const/let in test
1 parent e25635b commit 3ed44d4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/.eslintrc.yaml

+5
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

0 commit comments

Comments
 (0)