mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
75 lines
2.1 KiB
Plaintext
75 lines
2.1 KiB
Plaintext
|
{
|
||
|
"requireCurlyBraces": [
|
||
|
"if",
|
||
|
"else",
|
||
|
"for",
|
||
|
"while",
|
||
|
"do",
|
||
|
"try",
|
||
|
"catch"
|
||
|
],
|
||
|
"requireOperatorBeforeLineBreak": true,
|
||
|
"requireCamelCaseOrUpperCaseIdentifiers": true,
|
||
|
"maximumLineLength": {
|
||
|
"value": 80,
|
||
|
"allExcept": ["comments", "regex"]
|
||
|
},
|
||
|
"validateIndentation": 2,
|
||
|
"validateQuoteMarks": "'",
|
||
|
|
||
|
"disallowMultipleLineStrings": true,
|
||
|
"disallowMixedSpacesAndTabs": true,
|
||
|
"disallowTrailingWhitespace": true,
|
||
|
"disallowSpaceAfterPrefixUnaryOperators": true,
|
||
|
"disallowMultipleVarDecl": true,
|
||
|
"disallowKeywordsOnNewLine": ["else"],
|
||
|
|
||
|
"requireSpaceAfterKeywords": [
|
||
|
"if",
|
||
|
"else",
|
||
|
"for",
|
||
|
"while",
|
||
|
"do",
|
||
|
"switch",
|
||
|
"return",
|
||
|
"try",
|
||
|
"catch"
|
||
|
],
|
||
|
"requireSpaceBeforeBinaryOperators": [
|
||
|
"=", "+=", "-=", "*=", "/=", "%=", "<<=", ">>=", ">>>=",
|
||
|
"&=", "|=", "^=", "+=",
|
||
|
|
||
|
"+", "-", "*", "/", "%", "<<", ">>", ">>>", "&",
|
||
|
"|", "^", "&&", "||", "===", "==", ">=",
|
||
|
"<=", "<", ">", "!=", "!=="
|
||
|
],
|
||
|
"requireSpaceAfterBinaryOperators": true,
|
||
|
"requireSpacesInConditionalExpression": true,
|
||
|
"requireSpaceBeforeBlockStatements": true,
|
||
|
"requireSpacesInForStatement": true,
|
||
|
"requireLineFeedAtFileEnd": true,
|
||
|
"requireSpacesInFunctionExpression": {
|
||
|
"beforeOpeningCurlyBrace": true
|
||
|
},
|
||
|
"disallowSpacesInAnonymousFunctionExpression": {
|
||
|
"beforeOpeningRoundBrace": false
|
||
|
},
|
||
|
"disallowSpacesInsideObjectBrackets": "all",
|
||
|
"disallowSpacesInsideArrayBrackets": "all",
|
||
|
"disallowSpacesInsideParentheses": true,
|
||
|
|
||
|
"disallowMultipleLineBreaks": true,
|
||
|
"disallowNewlineBeforeBlockStatements": true,
|
||
|
"disallowKeywords": ["with"],
|
||
|
"disallowSpacesInFunctionExpression": null,
|
||
|
"disallowSpacesInFunctionDeclaration": null,
|
||
|
"disallowSpacesInCallExpression": true,
|
||
|
"disallowSpaceAfterObjectKeys": false,
|
||
|
"requireSpaceBeforeObjectValues": true,
|
||
|
"requireCapitalizedConstructors": true,
|
||
|
"requireDotNotation": true,
|
||
|
"requireSemicolons": true,
|
||
|
"validateParameterSeparator": ", ",
|
||
|
|
||
|
"jsDoc": null
|
||
|
}
|