[−][src]Module rslint_core::groups::errors
Rules which relate to productions which are almost always erroneous or cause unexpected behavior.
Structs
ForDirection | Disallow for loops which update their counter in the wrong direction. |
GetterReturn | Disallow getter properties which do not always return a value. |
NoAsyncPromiseExecutor | Disallow async functions as promise executors. |
NoAwaitInLoop | Disallow await inside of loops. |
NoCompareNegZero | Disallow comparison against |
NoCondAssign | Forbid the use of assignment expressions in conditions which may yield unwanted behavior. |
NoConfusingArrow | Disallow arrow functions where they could be confused with comparisons. |
NoConstantCondition | Disallow constant conditions which always yield one result. |
NoDebugger | Disallow the use of debugger statements. |
NoDupeKeys | Disallow duplicate keys in object literals. |
NoDuplicateCases | Disallow duplicate test cases in |
NoEmpty | Disallow empty block statements. |
NoExtraBooleanCast | Disallow unnecessary boolean casts. |
NoExtraSemi | Disallow unneeded semicolons. |
NoInnerDeclarations | Disallow variable and function declarations in nested blocks. |
NoIrregularWhitespace | Disallow weird/irregular whitespace. |
NoNewSymbol | Disallow constructing |
NoPrototypeBuiltins | Disallow direct use of |
NoSetterReturn | Disallow setters to return values. |
NoSparseArrays | Disallow sparse arrays. |
NoUnexpectedMultiline | Disallow confusing newlines in expressions. |
NoUnsafeFinally | Forbid the use of unsafe control flow statements in try and catch blocks. |
NoUnsafeNegation | Deny the use of |
UseIsnan | Disallow incorrect comparisons against |
ValidTypeof | Enforce the use of valid string literals in a |
Functions
errors | Rules which relate to productions which are almost always erroneous or cause unexpected behavior. |