mirror of https://github.com/twbs/ratchet.git
Build mobile apps with simple HTML, CSS, and JS components.
http://goratchet.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
2.4 KiB
49 lines
2.4 KiB
{ |
|
"disallowEmptyBlocks": true, |
|
"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, |
|
//"requireBlocksOnNewline": true, |
|
"requireCamelCaseOrUpperCaseIdentifiers": true, |
|
"requireCapitalizedConstructors": true, |
|
"requireCommaBeforeLineBreak": true, |
|
"requireCurlyBraces": true, |
|
//"requireDollarBeforejQueryAssignment": true, |
|
"requireDotNotation": true, |
|
"requireLineFeedAtFileEnd": true, |
|
"requirePaddingNewLinesAfterUseStrict": true, |
|
"requirePaddingNewLinesBeforeExport": true, |
|
"requireParenthesesAroundIIFE": true, |
|
"requireSemicolons": true, |
|
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], |
|
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"], |
|
"requireSpaceAfterLineComment": true, |
|
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], |
|
"requireSpaceBeforeBlockStatements": true, |
|
"requireSpaceBetweenArguments": true, |
|
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": true }, |
|
"requireSpacesInConditionalExpression": true, |
|
//"requireSpacesInForStatement": true, |
|
"requireSpacesInFunction": { "beforeOpeningCurlyBrace": true }, |
|
"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true }, |
|
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
|
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
|
"requireSpacesInsideObjectBrackets": "allButNested", |
|
"validateAlignedFunctionParameters": true, |
|
"validateIndentation": 2, |
|
"validateLineBreaks": "LF", |
|
"validateNewlineAfterArrayElements": true, |
|
"validateParameterSeparator": ", ", |
|
"validateQuoteMarks": "'" |
|
}
|
|
|