diff --git a/.eslintrc.json b/.eslintrc.json index 7b9ad29644..542a5cfa99 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -179,7 +179,7 @@ "case": { "after": true } } }], - "space-before-blocks": 1, + "space-before-blocks": 2, "strict": 1, "unnecessary-strict": 0, "use-isnan": 2, diff --git a/static/js/admin.js b/static/js/admin.js index ec477b2e98..2dc3b6f07c 100644 --- a/static/js/admin.js +++ b/static/js/admin.js @@ -790,7 +790,7 @@ function _setup_page() { e.stopPropagation(); var emoji_status = $('#admin-emoji-status'); var emoji = {}; - $(this).serializeArray().map(function (x){emoji[x.name] = x.value;}); + $(this).serializeArray().map(function (x) {emoji[x.name] = x.value;}); channel.put({ url: "/json/realm/emoji", @@ -842,7 +842,7 @@ function _setup_page() { pattern_status.hide(); format_status.hide(); var filter = {}; - $(this).serializeArray().map(function (x){filter[x.name] = x.value;}); + $(this).serializeArray().map(function (x) {filter[x.name] = x.value;}); channel.post({ url: "/json/realm/filters",