From c8eba5d20cdaf42b9879cf81e5e8cc540a36431f Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Mon, 21 Aug 2017 21:42:31 +0900 Subject: [PATCH] Add two common eslint rules. --- .eslintrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 86bdc29e2ad..32698cb9019 100644 --- a/.eslintrc +++ b/.eslintrc @@ -92,7 +92,9 @@ "wrap-iife": [ 2, "inside" - ] + ], + "no-mixed-spaces-and-tabs": 2, + "no-trailing-spaces": 2 }, "parser": "babel-eslint" }