All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.javascript.properties Maven / Gradle / Ivy

There is a newer version: 2.5
Show newest version
rule.javascript.CurlyBraces.name=Always use curly braces for "if/else/for/while/do" statements
rule.javascript.DebuggerStatement.name="Debugger" statement must not be used
rule.javascript.TrailingComma.name=Trailing comma
rule.javascript.Semicolon.name=Each statement must end with a semicolon
rule.javascript.OneStatementPerLine.name=Do not use more that one statement per line
rule.javascript.SingleQuote.name=Use single quote for string literals
rule.javascript.Eval.name=Avoid use of "eval"
rule.javascript.BitwiseOperators.name=Do not use bitwise operators
rule.javascript.FunctionComplexity.name=Avoid too complex function
rule.javascript.FunctionComplexity.param.maximumFunctionComplexityThreshold=The maximum authorized complexity in function
rule.javascript.MultilineStringLiterals.name=Avoid multiline string literals
rule.javascript.ParsingError.name=JavaScript parser failure
rule.javascript.CommentRegularExpression.name=Regular expression on comment
rule.javascript.CommentRegularExpression.param.regularExpression=The regular expression
rule.javascript.CommentRegularExpression.param.message=The issue message
rule.javascript.XPath.name=XPath rule
rule.javascript.XPath.param.xpathQuery=The XPath query
rule.javascript.XPath.param.message=The issue message
rule.javascript.CommentedCode.name=Sections of code should not be "commented out"
rule.javascript.ArrayAndObjectConstructors.name=Do not use "Array" and "Object" constructors
rule.javascript.PrimitiveWrappers.name=Do not use wrapper objects for primitive types
rule.javascript.WithStatement.name="With" statement must not be used
rule.javascript.ForIn.name="For-in" statement must filter items
rule.javascript.LineLength.name=Maximum authorized line length exceeded
rule.javascript.LineLength.param.maximumLineLength=The maximum authorized line length
rule.javascript.EqEqEq.name="===" and "!==" should be used instead of "==" and "!="
rule.javascript.FunctionDeclarationsWithinBlocks.name=Do not use function declarations within blocks
rule.javascript.AssignmentWithinCondition.name=Assignments should not be made from within sub-expressions
rule.javascript.LabelPlacement.name=Only "while/do/for" statements can be labelled
rule.javascript.UnreachableCode.name=Unreachable code
rule.javascript.ConditionalOperator.name=Avoid use of conditional operator
rule.javascript.Parentheses.name=Avoid use of parentheses where not required by syntax or semantics
rule.javascript.NestedIfDepth.name=Control flow statements "if", "for", "while", "switch" and "try" should not be nested too deeply
rule.javascript.NestedIfDepth.param.maximumNestingLevel=Maximum allowed "if/for/while/switch/try" statements nesting depth
rule.javascript.SwitchWithoutDefault.name=The final clause of a "switch" statement shall be the default-clause
rule.javascript.NonEmptyCaseWithoutBreak.name=An unconditional "break" statement shall terminate every non-empty switch-clause
rule.javascript.ContinueStatement.name=Avoid using "continue" branching statement
rule.javascript.HtmlComments.name=Do not use HTML-style comments
rule.javascript.EmptyBlock.name=Avoid empty block
rule.javascript.ElseIfWithoutElse.name="if ... else if" constructs shall be terminated with an "else" clause
rule.javascript.ExcessiveParameterList.name=Avoid function with too many parameters
rule.javascript.ExcessiveParameterList.param.maximumFunctionParameters=The maximum authorized number of parameters
rule.javascript.CollapsibleIfStatements.name=Collapsible "if" statements
rule.javascript.ConstructorFunctionsForSideEffects.name=Avoid use of constructor functions for side-effects
rule.javascript.FutureReservedWords.name=Do not use additional "future reserved words" as identifiers
rule.javascript.DuplicateFunctionArgument.name=Function argument names should be unique
rule.javascript.DuplicatePropertyName.name=Duplicate property names not allowed in object literals
rule.javascript.OctalNumber.name=Do not use octal numbers
rule.javascript.StrictMode.name=Use Javascript "strict" mode with caution
rule.javascript.ConditionalComment.name=Do not use Internet Explorer's conditional comments
rule.javascript.TabCharacter.name=Avoid use of tabulation character
rule.javascript.RedeclaredVariable.name=Avoid redeclaration of variables
rule.javascript.RedeclaredFunction.name=Avoid redeclaration of functions
rule.javascript.TrailingWhitespace.name=Avoid trailing whitespaces
rule.javascript.TrailingComment.name=Avoid trailing comment
rule.javascript.TrailingComment.param.legalCommentPattern=Pattern for text of trailing comments that are allowed.
rule.javascript.MissingNewlineAtEndOfFile.name=Missing new line at the end of file
rule.javascript.BoundOrAssignedEvalOrArguments.name="eval" and "arguments" must not be bound or assigned
rule.javascript.SameNameForFunctionAndVariable.name=Avoid usage of the same name for the declarations of both a function and a variable
rule.javascript.NamedFunctionExpression.name=Avoid named function expressions
rule.javascript.FunctionDefinitionInsideLoop.name=Avoid definition of functions inside loops
rule.javascript.TooManyBreakOrContinueInLoop.name=Do not use more than one "break" or "continue" statement in loops
rule.javascript.UnusedVariable.name=Unused local variables should be removed
rule.javascript.UnusedFunctionArgument.name=Unused function parameters should be removed
rule.javascript.VariableDeclarationAfterUsage.name=Declare variables before usage
rule.javascript.VariableShadowing.name=Avoid variable shadowing
rule.javascript.S100.name=Function names should comply with a naming convention
rule.javascript.S100.param.format=Regular expression used to check the function names against.
rule.javascript.S1442.name="alert(...)" should not be used
rule.javascript.S1134.name="FIXME" tags should be handled
rule.javascript.S1135.name="TODO" tags should be handled
rule.javascript.S104.name=Files should not have too many lines
rule.javascript.S104.param.maximum=Maximum authorized lines in a file
rule.javascript.S1301.name="switch" statements should have at least 3 cases
rule.javascript.S1145.name="if" statement conditions should not always evaluate to "true" or to "false"
rule.javascript.S1126.name=Return of boolean expressions should not be wrapped into an "if-then-else" statement
rule.javascript.S1264.name=A "while" loop should be used instead of a "for" loop
rule.javascript.S1472.name=Function call arguments should not start on new line
rule.javascript.S1451.name=Copyright and license headers should be defined in all source files
rule.javascript.S1451.param.headerFormat=Expected copyright and license header (plain text)
rule.javascript.S138.name=Functions should not have too many lines
rule.javascript.S138.param.max=Maximum authorized lines in a function
rule.javascript.S878.name=Comma operator should not be used
rule.javascript.S1219.name="switch" statements should not contain non-case labels
rule.javascript.S1125.name=Boolean expressions should be as compact as possible
rule.javascript.S1067.name=Expressions should not be too complex
rule.javascript.S1067.param.max=Maximum number of allowed conditional operators in an expression

# Common rules #
rule.common-js.InsufficientBranchCoverage.name=Insufficient branch coverage by unit tests
rule.common-js.InsufficientBranchCoverage.param.minimumBranchCoverageRatio=The minimum required branch coverage ratio.
rule.common-js.InsufficientCommentDensity.name=Insufficient comment density
rule.common-js.InsufficientCommentDensity.param.minimumCommentDensity=The minimum required comment density.
rule.common-js.DuplicatedBlocks.name=Duplicated blocks
rule.common-js.InsufficientLineCoverage.name=Insufficient line coverage by unit tests
rule.common-js.InsufficientLineCoverage.param.minimumLineCoverageRatio=The minimum required line coverage ratio.




© 2015 - 2024 Weber Informatics LLC | Privacy Policy