Fix styling in eslintrc.js

This commit is contained in:
Bill Thornton 2022-04-13 10:33:06 -04:00
parent 9ca6832f1f
commit c3b8c4e7db

View File

@ -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: {