mirror of https://github.com/twbs/ratchet.git
XhmikosR
11 years ago
10 changed files with 57 additions and 20 deletions
File diff suppressed because one or more lines are too long
@ -0,0 +1,26 @@
|
||||
{ |
||||
"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": "'" |
||||
} |
@ -1,22 +1,15 @@
|
||||
{ |
||||
"bitwise" : true, |
||||
"browser" : true, |
||||
"camelcase" : true, |
||||
"curly" : true, |
||||
"devel" : true, |
||||
"eqeqeq" : true, |
||||
"eqnull" : true, |
||||
"expr" : true, |
||||
"forin" : true, |
||||
"freeze" : true, |
||||
"immed" : true, |
||||
"indent" : 2, |
||||
"latedef" : true, |
||||
"newcap" : true, |
||||
"nonbsp" : true, |
||||
"quotmark" : "single", |
||||
"strict" : true, |
||||
"trailing" : true, |
||||
"undef" : true, |
||||
"unused" : true |
||||
} |
||||
|
Loading…
Reference in new issue