From 5e6c3e7997c25a04e331ead6caed7beda031f64d Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 2 Feb 2016 20:36:37 -0800 Subject: [PATCH] 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: https://github.com/nodejs/node/pull/5028 --- .eslintrc | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.eslintrc b/.eslintrc index c02364e40f452a..53dc8bc5b9d3c1 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,18 +1,6 @@ env: node: true - -# enable ECMAScript features -ecmaFeatures: - arrowFunctions: true - binaryLiterals: true - blockBindings: true - classes: true - forOf: true - generators: true - objectLiteralShorthandMethods: true - objectLiteralShorthandProperties: true - octalLiterals: true - templateStrings: true + es6: true rules: # Possible Errors