Change the identation in the file .jscsrc to be 2 spaces

This commit is contained in:
Mohammad Fares 2018-07-26 22:01:22 +03:00
parent 4c4c6e9d4b
commit f5168d3402

60
.jscsrc
View File

@ -36,18 +36,60 @@
"disallowSpacesInsideArrayBrackets": true, "disallowSpacesInsideArrayBrackets": true,
"disallowSpacesInsideParentheses": true, "disallowSpacesInsideParentheses": true,
"requireSpaceAfterComma": true, "requireSpaceAfterComma": true,
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], "disallowSpaceAfterPrefixUnaryOperators": [
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], "++",
"--",
"+",
"-",
"~",
"!"
],
"disallowSpaceBeforePostfixUnaryOperators": [
"++",
"--"
],
"requireSpaceBeforeBinaryOperators": [ "requireSpaceBeforeBinaryOperators": [
"=", "+=", "-=", "*=", "/=", "%=", "<<=", ">>=", ">>>=", "=",
"&=", "|=", "^=", "+", "-", "*", "/", "%", "<<", ">>", ">>>", "&", "+=",
"|", "^", "&&", "||", "===", "==", ">=", "<=", "<", ">", "!=", "!==" "-=",
"*=",
"/=",
"%=",
"<<=",
">>=",
">>>=",
"&=",
"|=",
"^=",
"+",
"-",
"*",
"/",
"%",
"<<",
">>",
">>>",
"&",
"|",
"^",
"&&",
"||",
"===",
"==",
">=",
"<=",
"<",
">",
"!=",
"!=="
], ],
"requireSpaceAfterBinaryOperators": true, "requireSpaceAfterBinaryOperators": true,
"requireCamelCaseOrUpperCaseIdentifiers": { "requireCamelCaseOrUpperCaseIdentifiers": {
"ignoreProperties": true "ignoreProperties": true
}, },
"disallowKeywords": ["with"], "disallowKeywords": [
"with"
],
"disallowMultipleLineStrings": true, "disallowMultipleLineStrings": true,
"validateLineBreaks": "LF", "validateLineBreaks": "LF",
"validateIndentation": 2, "validateIndentation": 2,
@ -58,7 +100,11 @@
"escape": true "escape": true
}, },
"requireCapitalizedComments": true, "requireCapitalizedComments": true,
"requireSpaceAfterLineComment": { "allExcept": ["//////////////////////////////////////////////////"] }, "requireSpaceAfterLineComment": {
"allExcept": [
"//////////////////////////////////////////////////"
]
},
"jsDoc": { "jsDoc": {
"checkAnnotations": true, "checkAnnotations": true,
"checkRedundantAccess": true, "checkRedundantAccess": true,