From c3b8c4e7db364705861cefc33a3e72477a01fb9a Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Wed, 13 Apr 2022 10:33:06 -0400 Subject: [PATCH] Fix styling in eslintrc.js --- .eslintrc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index cd714d6791..af8507cf5a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -51,6 +51,7 @@ module.exports = { 'no-restricted-globals': ['error'].concat(restrictedGlobals), 'no-trailing-spaces': ['error'], '@babel/no-unused-expressions': ['error', { 'allowShortCircuit': true, 'allowTernary': true, 'allowTaggedTemplates': true }], + 'no-void': ['error', { 'allowAsStatement': true }], 'one-var': ['error', 'never'], 'padded-blocks': ['error', 'never'], 'prefer-const': ['error', {'destructuring': 'all'}], @@ -59,8 +60,7 @@ module.exports = { 'no-var': ['error'], 'space-before-blocks': ['error'], 'space-infix-ops': 'error', - 'yoda': 'error', - 'no-void': ['error', { "allowAsStatement": true }] + 'yoda': 'error' }, settings: { react: {