From 845acb4e1ee9e39d9b77aa3797b6194266f1daed 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 0bf34c8390..cf1f7682cd 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