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