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.
24 lines
1.2 KiB
24 lines
1.2 KiB
11 years ago
|
{
|
||
|
"disallowEmptyBlocks": true,
|
||
|
"disallowKeywords": ["with"],
|
||
|
"disallowLeftStickedOperators": ["?", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
|
||
|
"disallowMixedSpacesAndTabs": true,
|
||
|
"disallowMultipleLineStrings": true,
|
||
|
"disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
|
||
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
|
||
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
||
|
"disallowTrailingWhitespace": true,
|
||
|
"requireCamelCaseOrUpperCaseIdentifiers": true,
|
||
|
"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": "'"
|
||
|
}
|