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.
34 lines
1.8 KiB
34 lines
1.8 KiB
{ |
|
"disallowEmptyBlocks": true, |
|
"disallowKeywords": ["with"], |
|
"disallowLeftStickedOperators": ["?", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], |
|
"disallowMixedSpacesAndTabs": true, |
|
"disallowMultipleLineStrings": true, |
|
"disallowMultipleVarDecl": true, |
|
"disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], |
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], |
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], |
|
"disallowSpacesInsideArrayBrackets": true, |
|
"disallowSpacesInsideParentheses": true, |
|
"disallowTrailingWhitespace": true, |
|
"requireCamelCaseOrUpperCaseIdentifiers": true, |
|
"requireCapitalizedConstructors": true, |
|
"requireCommaBeforeLineBreak": true, |
|
"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch", "case", "default"], |
|
"requireDotNotation": true, |
|
"requireLeftStickedOperators": [","], |
|
"requireLineFeedAtFileEnd": true, |
|
"requireParenthesesAroundIIFE": true, |
|
"requireRightStickedOperators": ["!"], |
|
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], |
|
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"], |
|
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], |
|
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
|
"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true }, |
|
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
|
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
|
"requireSpacesInsideObjectBrackets": "allButNested", |
|
"validateIndentation": 2, |
|
"validateLineBreaks": "LF", |
|
"validateQuoteMarks": "'" |
|
}
|
|
|