diff --git a/client/.eslintrc.js b/client/.eslintrc.js
index f00fd3d1..cac2ff57 100755
--- a/client/.eslintrc.js
+++ b/client/.eslintrc.js
@@ -33,6 +33,8 @@ module.exports = {
'no-plusplus': [0],
'no-await-in-loop': [0],
'indent': ['error', 4],
+ 'keyword-spacing': ['error'],
+ 'key-spacing': ['error'],
// for preact
"react/react-in-jsx-scope": [0],
diff --git a/client/package.json b/client/package.json
index e0fedee3..e3053f78 100755
--- a/client/package.json
+++ b/client/package.json
@@ -6,7 +6,7 @@
"scripts": {
"start": "parcel index.html --port 40080",
"build": "rm -rf dist && parcel build index.html",
- "lint": "eslint --fix src/",
+ "lint": "eslint --fix --ext .jsx src/",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
diff --git a/client/src/components/body.component.jsx b/client/src/components/body.component.jsx
index 787296c5..29ee96f6 100755
--- a/client/src/components/body.component.jsx
+++ b/client/src/components/body.component.jsx
@@ -30,8 +30,8 @@ const addState = connect(
function renderBody(props){
const {game, setGame} = props;
- if(game){
- return(
+ if (game){
+ return (