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.
38 lines
1.7 KiB
38 lines
1.7 KiB
{ |
|
"disallowEmptyBlocks": true, |
|
"disallowKeywords": ["with"], |
|
"disallowMixedSpacesAndTabs": true, |
|
"disallowMultipleLineStrings": true, |
|
"disallowMultipleVarDecl": true, |
|
"disallowQuotedKeysInObjects": "allButReserved", |
|
"disallowSpaceAfterPrefixUnaryOperators": ["!", "-", "--", "~", "+", "++"], |
|
"disallowSpaceBeforeBinaryOperators": [","], |
|
"disallowSpaceBeforePostfixUnaryOperators": true, |
|
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true }, |
|
"disallowSpacesInsideArrayBrackets": true, |
|
"disallowSpacesInsideParentheses": true, |
|
"disallowTrailingComma": true, |
|
"disallowTrailingWhitespace": true, |
|
//"requireBlocksOnNewline": true, |
|
"requireCamelCaseOrUpperCaseIdentifiers": true, |
|
"requireCapitalizedConstructors": true, |
|
"requireCommaBeforeLineBreak": true, |
|
"requireCurlyBraces": true, |
|
"requireDotNotation": true, |
|
"requireLineFeedAtFileEnd": true, |
|
"requireParenthesesAroundIIFE": true, |
|
"requireSpaceAfterBinaryOperators": true, |
|
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"], |
|
"requireSpaceAfterLineComment": true, |
|
"requireSpaceBeforeBinaryOperators": true, |
|
"requireSpaceBeforeBlockStatements": true, |
|
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": true }, |
|
"requireSpacesInConditionalExpression": true, |
|
"requireSpacesInFunction": { "beforeOpeningCurlyBrace": true }, |
|
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
|
"requireSpacesInsideObjectBrackets": "allButNested", |
|
"validateIndentation": 2, |
|
"validateLineBreaks": "LF", |
|
"validateParameterSeparator": ", ", |
|
"validateQuoteMarks": "'" |
|
}
|
|
|