From 30935d27e52c786faf35a513a06d6d9e9b91e8f1 Mon Sep 17 00:00:00 2001 From: Haileyesus Zemed Date: Mon, 9 Nov 2020 12:10:29 +0300 Subject: [PATCH] added configuration options for using prettier with eslint --- .eslintrc.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.eslintrc.json b/.eslintrc.json index 22ecf09708..58a7835507 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -19,6 +19,7 @@ "extends": [ "eslint:recommended", "plugin:react/recommended", + "plugin:prettier/recommended", "prettier", "prettier/react" ], @@ -47,6 +48,7 @@ "no-case-declarations": "error", "no-mixed-spaces-and-tabs": "error", "no-useless-escape": "error", + "prettier/prettier": "warn", "react/jsx-no-undef": "error", "react/jsx-no-bind": [ "error",