зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1198248 - Add SwitchCase configuration to the indent ESLint rule. r=ednapiranha
This commit is contained in:
Родитель
040af7ba60
Коммит
b4d9e4c989
|
@ -78,7 +78,7 @@
|
|||
// Only useful in a node environment.
|
||||
"handle-callback-err": 0,
|
||||
// Tab width.
|
||||
"indent": [2, 2],
|
||||
"indent": [2, 2, {"SwitchCase": 1}],
|
||||
// Enforces spacing between keys and values in object literal properties.
|
||||
"key-spacing": [1, {"beforeColon": false, "afterColon": true}],
|
||||
// Allow mixed 'LF' and 'CRLF' as linebreaks.
|
||||
|
|
Загрузка…
Ссылка в новой задаче