mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
chore(.jscs.json): fix .jscs.json to match our code-style
This commit is contained in:
parent
9ad3ac5cc0
commit
a79f581094
10
.jscs.json
10
.jscs.json
|
@ -10,11 +10,6 @@
|
||||||
],
|
],
|
||||||
"requireOperatorBeforeLineBreak": true,
|
"requireOperatorBeforeLineBreak": true,
|
||||||
"requireCamelCaseOrUpperCaseIdentifiers": true,
|
"requireCamelCaseOrUpperCaseIdentifiers": true,
|
||||||
"maximumLineLength": {
|
|
||||||
"value": 80,
|
|
||||||
"allowComments": true,
|
|
||||||
"allowRegex": true
|
|
||||||
},
|
|
||||||
"validateIndentation": 2,
|
"validateIndentation": 2,
|
||||||
"validateQuoteMarks": "'",
|
"validateQuoteMarks": "'",
|
||||||
"disallowMultipleLineStrings": true,
|
"disallowMultipleLineStrings": true,
|
||||||
|
@ -78,8 +73,9 @@
|
||||||
"requireSpacesInFunctionExpression": {
|
"requireSpacesInFunctionExpression": {
|
||||||
"beforeOpeningCurlyBrace": true
|
"beforeOpeningCurlyBrace": true
|
||||||
},
|
},
|
||||||
"disallowSpacesInAnonymousFunctionExpression": {
|
"requireSpacesInAnonymousFunctionExpression": {
|
||||||
"beforeOpeningRoundBrace": true
|
"beforeOpeningRoundBrace": true,
|
||||||
|
"beforeOpeningCurlyBrace": true
|
||||||
},
|
},
|
||||||
"disallowSpacesInsideObjectBrackets": "all",
|
"disallowSpacesInsideObjectBrackets": "all",
|
||||||
"disallowSpacesInsideArrayBrackets": "all",
|
"disallowSpacesInsideArrayBrackets": "all",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user