Permalink
Find file
7275750 Apr 25, 2013
1 lines (1 sloc) 5.06 KB
<?xml version="1.0" encoding="UTF-8"?><!-- Generated by Sonar --><profile><name>node</name><language>js</language><rules><rule><repositoryKey>javascript</repositoryKey><key>CommentedCode</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>FunctionComplexity</key><priority>MAJOR</priority><parameters><parameter><key>maximumFunctionComplexityThreshold</key><value>10</value></parameter></parameters></rule><rule><repositoryKey>javascript</repositoryKey><key>DebuggerStatement</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>WithStatement</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>EqEqEq</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>Eval</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>OneStatementPerLine</key><priority>MINOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>Semicolon</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>MultilineStringLiterals</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>ArrayAndObjectConstructors</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>BitwiseOperators</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>PrimitiveWrappers</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>ForIn</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>FunctionDeclarationsWithinBlocks</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>TrailingComma</key><priority>BLOCKER</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>AssignmentWithinCondition</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>LabelPlacement</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>UnreachableCode</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>SwitchWithoutDefault</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>NonEmptyCaseWithoutBreak</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>HtmlComments</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>EmptyBlock</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>ExcessiveParameterList</key><priority>MAJOR</priority><parameters><parameter><key>maximumFunctionParameters</key><value>7</value></parameter></parameters></rule><rule><repositoryKey>javascript</repositoryKey><key>CollapsibleIfStatements</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>ConstructorFunctionsForSideEffects</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>FutureReservedWords</key><priority>CRITICAL</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>DuplicateFunctionArgument</key><priority>CRITICAL</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>DuplicatePropertyName</key><priority>CRITICAL</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>OctalNumber</key><priority>CRITICAL</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>ConditionalComment</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>RedeclaredVariable</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>RedeclaredFunction</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>TrailingWhitespace</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>TrailingComment</key><priority>MINOR</priority><parameters><parameter><key>legalCommentPattern</key><value>^//\s*+[^\s]++$</value></parameter></parameters></rule><rule><repositoryKey>javascript</repositoryKey><key>BoundOrAssignedEvalOrArguments</key><priority>CRITICAL</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>SameNameForFunctionAndVariable</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>FunctionDefinitionInsideLoop</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>TooManyBreakOrContinueInLoop</key><priority>MAJOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>UnusedVariable</key><priority>MINOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>UnusedFunctionArgument</key><priority>MINOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>VariableDeclarationAfterUsage</key><priority>MINOR</priority></rule><rule><repositoryKey>javascript</repositoryKey><key>NestedIfDepth</key><priority>MINOR</priority><parameters><parameter><key>maximumNestingLevel</key><value>3</value></parameter></parameters></rule></rules></profile>