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