Skip to content

Commit 5e6c3e7

Browse files
committed
tools: enable all es6 rules in linter
This change enables the es6 environment in eslint. Rather than selecting es6 rules one at a time, this turns all of them on with the exception of modules. Ref: nodejs#5028
1 parent 7ea34fd commit 5e6c3e7

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.eslintrc

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
11
env:
22
node: true
3-
4-
# enable ECMAScript features
5-
ecmaFeatures:
6-
arrowFunctions: true
7-
binaryLiterals: true
8-
blockBindings: true
9-
classes: true
10-
forOf: true
11-
generators: true
12-
objectLiteralShorthandMethods: true
13-
objectLiteralShorthandProperties: true
14-
octalLiterals: true
15-
templateStrings: true
3+
es6: true
164

175
rules:
186
# Possible Errors

0 commit comments

Comments
 (0)