Change the identation in the file .jscsrc to be 2 spaces
This commit is contained in:
parent
4c4c6e9d4b
commit
f5168d3402
60
.jscsrc
60
.jscsrc
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user