tools: enable arrow functions in .eslintrc · nodejs/node@59d0373

Original file line numberDiff line numberDiff line change

@@ -3,15 +3,16 @@ env:

33
44

# enable ECMAScript features

55

ecmaFeatures:

6-

blockBindings: true

7-

templateStrings: true

8-

octalLiterals: true

6+

arrowFunctions: true

97

binaryLiterals: true

10-

generators: true

8+

blockBindings: true

9+

classes: true

1110

forOf: true

12-

objectLiteralShorthandProperties: true

11+

generators: true

1312

objectLiteralShorthandMethods: true

14-

classes: true

13+

objectLiteralShorthandProperties: true

14+

octalLiterals: true

15+

templateStrings: true

1516
1617

rules:

1718

# Possible Errors