eslint: indent switch statements

site-logo
Alex Gleason 2022-05-11 16:06:35 -05:00
rodzic ae01b845de
commit b64be353cc
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
86 zmienionych plików z 1782 dodań i 1781 usunięć

Wyświetl plik

@ -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'],