Y-SLD/assets/playkit/plugins/leaflet/leaflet-measure/.jscsrc

46 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

2024-03-01 11:23:55 +00:00
{
"maxErrors": 50,
"requireCurlyBraces": [ "if", "else", "for", "while", "do" ],
"disallowEmptyBlocks": true,
"disallowImplicitTypeConversion": ["numeric", "boolean", "binary", "string"],
"disallowKeywordsOnNewLine": ["else"],
"requireSpaceAfterKeywords": true,
"requireSpaceBeforeBlockStatements": true,
"disallowNewlineBeforeBlockStatements": true,
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"disallowSpacesInCallExpression": true,
"disallowSpacesInsideArrayBrackets": true,
"requireParenthesesAroundIIFE": true,
"requireSpacesInConditionalExpression": true,
"requireSpacesInFunction": {
"beforeOpeningRoundBrace": true,
"beforeOpeningCurlyBrace": true
},
"disallowMultipleLineStrings": true,
"disallowMultipleLineBreaks": true,
"disallowMixedSpacesAndTabs": true,
"disallowTrailingWhitespace": true,
"requireCommaBeforeLineBreak": true,
"requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties",
"disallowTrailingComma": true,
"requireCapitalizedConstructors": true,
"requireDotNotation": true,
"validateQuoteMarks": "'",
"disallowKeywords": ["with"],
"disallowKeywordsOnNewLine": ["else"],
"requirePaddingNewLinesInObjects": true,
"disallowSpacesInsideObjectBrackets": true,
"disallowSpaceAfterObjectKeys": true,
"requireSpaceBeforeObjectValues": true,
"disallowSpaceAfterPrefixUnaryOperators": [",", "!"],
"disallowSpacesInsideParentheses": true,
"disallowYodaConditions": true,
"requireBlocksOnNewline": true,
"requireSpaceBeforeBlockStatements": true,
"requireSpacesInFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
"requireSpacesInConditionalExpression": true,
"validateIndentation": 2
}