eslint: indent switch statements

This commit is contained in:
Alex Gleason 2022-05-11 16:06:35 -05:00
parent ae01b845de
commit b64be353cc
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
86 changed files with 1782 additions and 1781 deletions

View File

@ -72,6 +72,7 @@ module.exports = {
'dot-notation': 'error',
eqeqeq: 'error',
indent: ['error', 2, {
SwitchCase: 1, // https://stackoverflow.com/a/53055584/8811886
ignoredNodes: ['TemplateLiteral'],
}],
'jsx-quotes': ['error', 'prefer-single'],