From ca5758f30f2b906c470c461502187fecea57faa2 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Thu, 7 Feb 2019 09:13:09 -0400 Subject: [PATCH] feat: added babel-eslint parser --- .eslintrc.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 9ef8d43..d4a4f62 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -4,6 +4,7 @@ "es6": true, "node": true }, + "parser": "babel-eslint", "extends": [ "eslint:recommended" ], @@ -18,6 +19,7 @@ "__": true }, "plugins": [ + "react" ], "rules": { "accessor-pairs": "error", @@ -44,7 +46,7 @@ "camelcase": "off", "capitalized-comments": "off", "class-methods-use-this": "off", - "comma-dangle": "off", + "comma-dangle": "error", "comma-spacing": "off", "comma-style": [ "error", @@ -87,10 +89,6 @@ "key-spacing": "off", "keyword-spacing": "off", "line-comment-position": "off", - "linebreak-style": [ - "error", - "unix" - ], "lines-around-comment": "error", "lines-around-directive": "error", "max-depth": "error",