From 7f6cf5e50c687bc369edbf8604bdffcc8b165fb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zlatan=20Vasovi=C4=87?= Date: Sat, 14 Dec 2013 21:57:59 +0100 Subject: [PATCH] Add `try` and `catch` to keywords --- js/.jscs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/.jscs.json b/js/.jscs.json index 2f04d9cd61a0..e02344fd5a50 100644 --- a/js/.jscs.json +++ b/js/.jscs.json @@ -1,5 +1,5 @@ { - "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return"], + "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"], "requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }, "disallowLeftStickedOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], "requireRightStickedOperators": ["!"],