cooldowns and linting

This commit is contained in:
ntr
2018-10-25 00:04:48 +11:00
parent 8be14ac546
commit e192edfc26
10 changed files with 292 additions and 255 deletions
+2
View File
@@ -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],
+1 -1
View File
@@ -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": "",
+2 -2
View File
@@ -30,8 +30,8 @@ const addState = connect(
function renderBody(props){
const {game, setGame} = props;
if(game){
return(
if (game){
return (
<div>
<GameContainer />
<button
+1 -1
View File
@@ -126,7 +126,7 @@ function GamePanel(props) {
// style={{ "min-height": "100%" }}
function phaseText(phase){
switch(phase){
switch (phase){
case 'Skill':
return "Choose abilities"
case 'Target':