Return false from socket handlers to not dispatch action

This commit is contained in:
Ken-Håvard Lieng 2020-06-05 08:56:11 +02:00
parent a4fe18c0f0
commit a33157ff84
8 changed files with 141 additions and 126 deletions

View file

@ -4,6 +4,7 @@
"env": {
"browser": true
},
"plugins": ["babel"],
"rules": {
"consistent-return": 0,
"jsx-a11y/click-events-have-key-events": 0,
@ -19,7 +20,10 @@
"react/jsx-props-no-spreading": 0,
"react/prop-types": 0,
"react/state-in-constructor": 0,
"react/static-property-placement": 0
"react/static-property-placement": 0,
"no-unused-expressions": 0,
"babel/no-unused-expressions": 2
},
"settings": {
"import/resolver": {