From 53e64234cebe011e8333bb928c757fea0041c7bc Mon Sep 17 00:00:00 2001
From: Eric <eric@commitchange.com>
Date: Tue, 30 Jun 2020 14:40:08 -0500
Subject: [PATCH] Add react plugin to TSX files

---
 .eslintrc.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.eslintrc.js b/.eslintrc.js
index 00a340de..c6119d75 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -45,10 +45,11 @@ tsSettings['files'] = ['**/*.ts'];
 
 const tsxSettings = _.cloneDeep(tsBase);
 tsxSettings['files'] = ['**/*.tsx'];
+tsxSettings['plugins'] = [...tsxSpec['plugins'], "react"];
+tsxSettings['extends'] = [...tsxSpec['extends'], "plugin:react/recommended"];
 
 module.exports = {
 	root: true,
-
 	overrides: [
 		{
 			"files": ['*.js', 'config/webpack/**/*.js'],
@@ -72,7 +73,7 @@ module.exports = {
 			"always"
 		],
 		"no-trailing-spaces": ["error"],
-		"indent": ["error", "tab"], // we use tabs for accessibility
+		"indent": ["error", "tab", {"SwitchCase": 1}], // we use tabs for accessibility
 	},
 	"settings": {
 		"react": {