From 4e35a27934a8aa86dabc960ccbd3d6acdeb3056d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A1ssio=20Zen?= Date: Wed, 31 Aug 2016 16:42:34 -0300 Subject: [PATCH] simpler eslint config for es6 features --- .eslintrc | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/.eslintrc b/.eslintrc index c10de0c1..8f6cd62a 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,28 +1,10 @@ env: browser: true + es6: true parser: babel-eslint - plugins: [ "react" ] -# enable ECMAScript features -ecmaFeatures: - arrowFunctions: true - binaryLiterals: true - blockBindings: true - classes: true - defaultParams: true - destructuring: true - forOf: true - generators: true - jsx: true - modules: true - objectLiteralShorthandMethods: true - objectLiteralShorthandProperties: true - octalLiterals: true - spread: true - templateStrings: true - rules: # Possible Errors # https://github.com/eslint/eslint/tree/master/docs/rules#possible-errors