mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-12-05 05:04:20 +00:00
65 lines
1.5 KiB
Plaintext
65 lines
1.5 KiB
Plaintext
{
|
|
"disallowDanglingUnderscores": true,
|
|
"disallowEmptyBlocks": true,
|
|
"disallowKeywords": [
|
|
"with"
|
|
],
|
|
"disallowMixedSpacesAndTabs": "smart",
|
|
"disallowMultipleLineBreaks": true,
|
|
"disallowMultipleLineStrings": true,
|
|
"disallowNewlineBeforeBlockStatements": true,
|
|
"disallowOperatorBeforeLineBreak": [
|
|
"."
|
|
],
|
|
"disallowSpaceAfterPrefixUnaryOperators": true,
|
|
"disallowSpaceBeforeBinaryOperators": [
|
|
","
|
|
],
|
|
"disallowSpaceBeforePostfixUnaryOperators": true,
|
|
"disallowSpacesInCallExpression": true,
|
|
|
|
"disallowTrailingComma": true,
|
|
"maximumLineLength": {
|
|
"allowRegex": true,
|
|
"allowUrlComments": true,
|
|
"tabSize": 2,
|
|
"value": 180
|
|
},
|
|
"requireBlocksOnNewline": 1,
|
|
"requireCommaBeforeLineBreak": true,
|
|
"requireCurlyBraces": [
|
|
"do"
|
|
],
|
|
"requireDollarBeforejQueryAssignment": true,
|
|
"requireDotNotation": true,
|
|
"requireLineFeedAtFileEnd": true,
|
|
"requireParenthesesAroundIIFE": true,
|
|
"requireSemicolons": true,
|
|
"requireSpaceAfterBinaryOperators": true,
|
|
"requireSpaceAfterKeywords": [
|
|
"if",
|
|
"else",
|
|
"for",
|
|
"while",
|
|
"do",
|
|
"switch",
|
|
"case",
|
|
"return",
|
|
"try",
|
|
"catch",
|
|
"typeof"
|
|
],
|
|
"requireSpaceAfterLineComment": true,
|
|
"requireSpaceBeforeBinaryOperators": true,
|
|
"requireSpacesInConditionalExpression": true,
|
|
"requireSpacesInForStatement": true,
|
|
"requireSpacesInsideArrayBrackets": "all",
|
|
"validateIndentation": {
|
|
"allExcept": ["emptyLines", "comments"],
|
|
"value": "\t"
|
|
},
|
|
"validateQuoteMarks": {
|
|
"escape": true,
|
|
"mark": "'"
|
|
}
|
|
} |