mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-30 05:24:09 +03:00
45 lines
2.2 KiB
Plaintext
45 lines
2.2 KiB
Plaintext
{
|
|
"esnext": true,
|
|
"verbose": true,
|
|
"disallowEmptyBlocks": false,
|
|
"disallowKeywords": ["with"],
|
|
"disallowMixedSpacesAndTabs": true,
|
|
"disallowMultipleLineStrings": true,
|
|
"disallowMultipleVarDecl": true,
|
|
"disallowQuotedKeysInObjects": "allButReserved",
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
|
|
"disallowSpaceBeforeBinaryOperators": [","],
|
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
|
"disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true },
|
|
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
|
|
"disallowSpacesInsideArrayBrackets": true,
|
|
"disallowSpacesInsideParentheses": true,
|
|
"disallowTrailingComma": true,
|
|
"disallowTrailingWhitespace": true,
|
|
"requireCamelCaseOrUpperCaseIdentifiers": true,
|
|
"requireCapitalizedConstructors": true,
|
|
"requireCommaBeforeLineBreak": true,
|
|
"requireDollarBeforejQueryAssignment": true,
|
|
"requireDotNotation": true,
|
|
"requireLineFeedAtFileEnd": true,
|
|
"requirePaddingNewLinesAfterUseStrict": true,
|
|
"requirePaddingNewLinesBeforeExport": true,
|
|
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
|
|
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
|
|
"requireSpaceAfterLineComment": false,
|
|
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
|
|
"requireSpaceBetweenArguments": true,
|
|
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": true, "allExcept": ["shorthand"] },
|
|
"requireSpacesInConditionalExpression": true,
|
|
"requireSpacesInForStatement": true,
|
|
"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true },
|
|
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
|
|
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
|
|
"requireSpacesInsideObjectBrackets": false,
|
|
"validateAlignedFunctionParameters": true,
|
|
"validateIndentation": 2,
|
|
"validateLineBreaks": "LF",
|
|
"validateNewlineAfterArrayElements": true,
|
|
"validateQuoteMarks": "'"
|
|
}
|