From f5168d34025505e8dba52313fc8b777ffa135646 Mon Sep 17 00:00:00 2001 From: Mohammad Fares Date: Thu, 26 Jul 2018 22:01:22 +0300 Subject: [PATCH] Change the identation in the file .jscsrc to be 2 spaces --- .jscsrc | 188 +++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 117 insertions(+), 71 deletions(-) diff --git a/.jscsrc b/.jscsrc index 1711c11..fd33f5e 100644 --- a/.jscsrc +++ b/.jscsrc @@ -1,73 +1,119 @@ { - "requireCurlyBraces": [ - "if", - "else", - "for", - "while", - "do", - "try", - "catch" - ], - "requireSpaceAfterKeywords": [ - "if", - "else", - "for", - "while", - "do", - "switch", - "return", - "try", - "catch" - ], - "requireSemicolons": true, - "requireSpacesInForStatement": true, - "requireSpaceBeforeBlockStatements": true, - "requireParenthesesAroundIIFE": true, - "requireSpacesInConditionalExpression": true, - "requireSpacesInAnonymousFunctionExpression": { - "beforeOpeningCurlyBrace": true - }, - "requireSpacesInNamedFunctionExpression": { - "beforeOpeningCurlyBrace": true - }, - "requireBlocksOnNewline": true, - "disallowEmptyBlocks": false, - "disallowSpacesInsideObjectBrackets": true, - "disallowSpacesInsideArrayBrackets": true, - "disallowSpacesInsideParentheses": true, - "requireSpaceAfterComma": true, - "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], - "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], - "requireSpaceBeforeBinaryOperators": [ - "=", "+=", "-=", "*=", "/=", "%=", "<<=", ">>=", ">>>=", - "&=", "|=", "^=", "+", "-", "*", "/", "%", "<<", ">>", ">>>", "&", - "|", "^", "&&", "||", "===", "==", ">=", "<=", "<", ">", "!=", "!==" - ], - "requireSpaceAfterBinaryOperators": true, - "requireCamelCaseOrUpperCaseIdentifiers": { - "ignoreProperties": true - }, - "disallowKeywords": ["with"], - "disallowMultipleLineStrings": true, - "validateLineBreaks": "LF", - "validateIndentation": 2, - "disallowTrailingComma": true, - "requireLineFeedAtFileEnd": true, - "validateQuoteMarks": { - "mark": "'", - "escape": true - }, - "requireCapitalizedComments": true, - "requireSpaceAfterLineComment": { "allExcept": ["//////////////////////////////////////////////////"] }, - "jsDoc": { - "checkAnnotations": true, - "checkRedundantAccess": true, - "checkTypes": "capitalizedNativeCase", - "requireNewlineAfterDescription": true, - "checkParamExistence": true, - "checkParamNames": true, - "requireParamTypes": true, - "checkRedundantParams": true, - "requireReturnTypes": true - } + "requireCurlyBraces": [ + "if", + "else", + "for", + "while", + "do", + "try", + "catch" + ], + "requireSpaceAfterKeywords": [ + "if", + "else", + "for", + "while", + "do", + "switch", + "return", + "try", + "catch" + ], + "requireSemicolons": true, + "requireSpacesInForStatement": true, + "requireSpaceBeforeBlockStatements": true, + "requireParenthesesAroundIIFE": true, + "requireSpacesInConditionalExpression": true, + "requireSpacesInAnonymousFunctionExpression": { + "beforeOpeningCurlyBrace": true + }, + "requireSpacesInNamedFunctionExpression": { + "beforeOpeningCurlyBrace": true + }, + "requireBlocksOnNewline": true, + "disallowEmptyBlocks": false, + "disallowSpacesInsideObjectBrackets": true, + "disallowSpacesInsideArrayBrackets": true, + "disallowSpacesInsideParentheses": true, + "requireSpaceAfterComma": true, + "disallowSpaceAfterPrefixUnaryOperators": [ + "++", + "--", + "+", + "-", + "~", + "!" + ], + "disallowSpaceBeforePostfixUnaryOperators": [ + "++", + "--" + ], + "requireSpaceBeforeBinaryOperators": [ + "=", + "+=", + "-=", + "*=", + "/=", + "%=", + "<<=", + ">>=", + ">>>=", + "&=", + "|=", + "^=", + "+", + "-", + "*", + "/", + "%", + "<<", + ">>", + ">>>", + "&", + "|", + "^", + "&&", + "||", + "===", + "==", + ">=", + "<=", + "<", + ">", + "!=", + "!==" + ], + "requireSpaceAfterBinaryOperators": true, + "requireCamelCaseOrUpperCaseIdentifiers": { + "ignoreProperties": true + }, + "disallowKeywords": [ + "with" + ], + "disallowMultipleLineStrings": true, + "validateLineBreaks": "LF", + "validateIndentation": 2, + "disallowTrailingComma": true, + "requireLineFeedAtFileEnd": true, + "validateQuoteMarks": { + "mark": "'", + "escape": true + }, + "requireCapitalizedComments": true, + "requireSpaceAfterLineComment": { + "allExcept": [ + "//////////////////////////////////////////////////" + ] + }, + "jsDoc": { + "checkAnnotations": true, + "checkRedundantAccess": true, + "checkTypes": "capitalizedNativeCase", + "requireNewlineAfterDescription": true, + "checkParamExistence": true, + "checkParamNames": true, + "requireParamTypes": true, + "checkRedundantParams": true, + "requireReturnTypes": true + } }