mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
37 lines
1.8 KiB
Plaintext
37 lines
1.8 KiB
Plaintext
|
{
|
||
|
"disallowEmptyBlocks": true,
|
||
|
"disallowKeywords": ["with"],
|
||
|
"disallowMixedSpacesAndTabs": true,
|
||
|
"disallowMultipleLineStrings": true,
|
||
|
"disallowMultipleVarDecl": true,
|
||
|
"disallowQuotedKeysInObjects": "allButReserved",
|
||
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
|
||
|
"disallowSpaceBeforeBinaryOperators": [","],
|
||
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
||
|
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
|
||
|
"disallowSpacesInsideArrayBrackets": true,
|
||
|
"disallowSpacesInsideParentheses": true,
|
||
|
"disallowTrailingComma": true,
|
||
|
"disallowTrailingWhitespace": true,
|
||
|
"requireCamelCaseOrUpperCaseIdentifiers": true,
|
||
|
"requireCapitalizedConstructors": true,
|
||
|
"requireCommaBeforeLineBreak": true,
|
||
|
"requireDotNotation": true,
|
||
|
"requireLineFeedAtFileEnd": true,
|
||
|
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
|
||
|
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
|
||
|
"requireSpaceAfterLineComment": true,
|
||
|
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
|
||
|
"requireSpaceBetweenArguments": true,
|
||
|
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": true },
|
||
|
"requireSpacesInConditionalExpression": true,
|
||
|
"requireSpacesInForStatement": true,
|
||
|
"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true },
|
||
|
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
|
||
|
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
|
||
|
"requireSpacesInsideObjectBrackets": "allButNested",
|
||
|
"validateIndentation": 2,
|
||
|
"validateLineBreaks": "LF",
|
||
|
"validateQuoteMarks": "'"
|
||
|
}
|