Bug 1198248 - Add SwitchCase configuration to the indent ESLint rule. r=ednapiranha

This commit is contained in:
Patrick Brosset 2015-08-25 15:26:00 +02:00
Родитель 040af7ba60
Коммит b4d9e4c989
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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.