diff --git a/.eslintrc.js b/.eslintrc.js index f5c83f13dc..ec9bb4b5aa 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -58,7 +58,8 @@ module.exports = { 'no-var': ['error'], 'space-before-blocks': ['error'], 'space-infix-ops': 'error', - 'yoda': 'error' + 'yoda': 'error', + 'no-void': ['error', { "allowAsStatement": true }] }, settings: { react: {