mirror of
https://github.com/webgefrickel/dotfiles
synced 2024-11-11 07:10:40 +00:00
47 lines
1.7 KiB
Plaintext
47 lines
1.7 KiB
Plaintext
{
|
|
"requireCurlyBraces": ["if", "else", "for", "while", "do", "switch", "try", "catch"],
|
|
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "try", "catch", "return"],
|
|
"requireSpaceBeforeBlockStatements": true,
|
|
"requireParenthesesAroundIIFE": true,
|
|
"requireSpacesInConditionalExpression": true,
|
|
"requireSpacesInNamedFunctionExpression": {
|
|
"beforeOpeningCurlyBrace": true
|
|
},
|
|
"requireSpacesInAnonymousFunctionExpression": {
|
|
"beforeOpeningRoundBrace": true,
|
|
"beforeOpeningCurlyBrace": true
|
|
},
|
|
"requireSpacesInFunctionDeclaration": {
|
|
"beforeOpeningCurlyBrace": true
|
|
},
|
|
"disallowMultipleVarDecl": true,
|
|
"requireBlocksOnNewline": 1,
|
|
"disallowEmptyBlocks": true,
|
|
"requireSpacesInsideObjectBrackets": "all",
|
|
"disallowQuotedKeysInObjects": true,
|
|
"disallowSpaceAfterObjectKeys": true,
|
|
"requireCommaBeforeLineBreak": true,
|
|
"requireOperatorBeforeLineBreak": true,
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["+", "-", "~", "!"],
|
|
"requireSpaceBeforeBinaryOperators": true,
|
|
"requireSpaceAfterBinaryOperators": true,
|
|
"requireCamelCaseOrUpperCaseIdentifiers": true,
|
|
"disallowKeywords": ["with"],
|
|
"disallowMultipleLineStrings": true,
|
|
"validateLineBreaks": "LF",
|
|
"validateQuoteMarks": { "mark": "'", "escape": true },
|
|
"validateIndentation": 2,
|
|
"disallowMixedSpacesAndTabs": true,
|
|
"disallowTrailingWhitespace": true,
|
|
"disallowTrailingComma": true,
|
|
"disallowKeywordsOnNewLine": ["else"],
|
|
"requireLineFeedAtFileEnd": true,
|
|
"maximumLineLength": 120,
|
|
"requireCapitalizedConstructors": true,
|
|
"safeContextKeyword": ["that"],
|
|
"requireDotNotation": true,
|
|
"disallowYodaConditions": true,
|
|
"requireSpaceAfterLineComment": true,
|
|
"disallowNewlineBeforeBlockStatements": true
|
|
}
|