From 59d03738cc63e265544430045b8461ca8b777157 Mon Sep 17 00:00:00 2001 From: Sakthipriyan Vairamani Date: Sun, 13 Sep 2015 02:12:39 +0530 Subject: [PATCH] tools: enable arrow functions in .eslintrc 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 Reviewed-By: Colin Ihrig --- .eslintrc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.eslintrc b/.eslintrc index 0bf34c83908c72..cf1f7682cdcf91 100644 --- a/.eslintrc +++ b/.eslintrc @@ -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