Skip to content

Commit

Permalink
tools: enable arrow functions in .eslintrc
Browse files Browse the repository at this point in the history
As of v8 4.5, arrow functions are rolled out. This patch allows eslint
to accept arrow functions as well.

PR-URL: #2840
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
thefourtheye authored and Fishrock123 committed Sep 15, 2015
1 parent e35b1fd commit 59d0373
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ env:

# enable ECMAScript features
ecmaFeatures:
blockBindings: true
templateStrings: true
octalLiterals: true
arrowFunctions: true
binaryLiterals: true
generators: true
blockBindings: true
classes: true
forOf: true
objectLiteralShorthandProperties: true
generators: true
objectLiteralShorthandMethods: true
classes: true
objectLiteralShorthandProperties: true
octalLiterals: true
templateStrings: true

rules:
# Possible Errors
Expand Down

0 comments on commit 59d0373

Please sign in to comment.