Authored by xuqi

code-checker rules change

{
"disallowDanglingUnderscores": true,
"disallowEmptyBlocks": true,
"disallowKeywordsInComments": ["TODO", "FIXME"],
"disallowKeywordsOnNewLine": ["else", "else if"],
"disallowKeywords": ["with", "eval"],
"disallowMixedSpacesAndTabs": true,
... ... @@ -32,7 +31,7 @@
"requireBlocksOnNewline": {
"includeComments": true
},
"requireCamelCaseOrUpperCaseIdentifiers": true,
"requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties",
"requireCapitalizedConstructors": true,
"requireCommaBeforeLineBreak": true,
"requireCurlyBraces": true,
... ... @@ -59,8 +58,7 @@
"while",
"with",
"return",
"typeof",
"function"
"typeof"
],
"requireSpaceBeforeBinaryOperators": true,
"requireSpaceBeforeBlockStatements": 1,
... ...
... ... @@ -3,7 +3,6 @@
"bitwise": false,
"boss": false,
"browser": true,
"camelcase": true,
"couch": false,
"curly": true,
"debug": false,
... ... @@ -21,7 +20,7 @@
"globalstrict": false,
"immed": true,
"iterator": false,
"jquery": true,
"jquery": false,
"lastsemic": false,
"latedef": true,
"laxbreak": true,
... ...