From 91455cf1a3147ce562777675346f2d10e79445ea Mon Sep 17 00:00:00 2001 From: shooter0106 Date: Wed, 11 Sep 2019 22:23:49 +0700 Subject: [PATCH] Updated ESLint configuration to better match project's code style --- .eslintrc.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 9dbd126..75cd5ad 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -4,7 +4,10 @@ "commonjs": true, "es6": true }, - "extends": "eslint:recommended", + "extends": [ + "eslint:recommended", + "plugin:react/recommended" + ], "globals": { "Atomics": "readonly", "SharedArrayBuffer": "readonly" @@ -13,8 +16,8 @@ "ecmaVersion": 2018 }, "rules": { - "indent": ["error", "tab"], - "linebreak-style": ["error", "windows"], + "indent": ["error", 2], + "linebreak-style": ["error", "unix"], "quotes": ["error", "single"], "semi": ["error", "always"] }