Default: 56 rules
Bugs and security problems with measured precision. They run without a tx0.toml.
-
tx0/ts:accessor-recursiondefaultA getter reads or a setter writes its own property, which recurses without end
-
tx0/ts:async-foreach-callbackdefaultAn async function passed to
forEachruns without anyone awaiting its promise -
tx0/ts:async-promise-executordefaultThe executor of a new promise is an async function
-
tx0/ts:bitwise-logicdefault|or&combines two boolean conditions where||or&&was meant -
tx0/ts:call-of-non-functiondefaultA literal is called, or
newis used with an arrow function, which throws -
tx0/ts:callback-over-holesdefaultAn array method's callback is never run on the empty slots of
Array(n) -
tx0/ts:case-with-logical-operatordefaultA
caselabel combines values with||,&&or,, so it matches only one of them -
tx0/ts:constant-binary-expressiondefaultAn operation has the same outcome whatever the values involved
-
tx0/ts:delete-variabledefaultdeleteis applied to a variable, which it cannot remove -
tx0/ts:derived-constructor-superdefaultA constructor uses
thisbeforesuper(...), omits it in a derived class or calls it without a parent -
tx0/ts:discarded-new-valuedefaultA method that returns a new string, number or array is called as a statement and its result is lost
-
tx0/ts:duplicate-casedefaultA case of a switch repeats an earlier one
-
tx0/ts:duplicate-class-memberdefaultA class defines a member twice
-
tx0/ts:duplicate-conditiondefaultA condition of an if-else chain repeats an earlier one
-
tx0/ts:duplicate-keydefaultAn object literal gives the same key twice
-
tx0/ts:duplicate-parameterdefaultA function has two parameters of the same name
-
tx0/ts:element-content-conflictdefaultA JSX element has children together with
dangerouslySetInnerHTML, or is a void element with children -
tx0/ts:empty-if-bodydefaultAn
iforelsebranch is a lone;, so the code after it runs unconditionally -
tx0/ts:getter-without-returndefaultA getter has no
return, so reading the property givesundefined -
tx0/ts:global-assigndefaultA built-in global is assigned another value
-
tx0/ts:identical-branchesdefaultEvery branch of an if-else or conditional expression is the same
-
tx0/ts:identical-operandsdefaultBoth operands of an operator are the same
-
tx0/ts:impossible-length-checkdefaultA length or size is tested for being at least 0, which always holds
-
tx0/ts:loop-update-mismatchdefaultA
forloop's update changes a variable that its condition does not read -
tx0/ts:loss-of-precisiondefaultA number literal has more precision than a double holds
-
tx0/ts:lost-incrementdefaultA variable is assigned its own postfix increment, so it keeps its old value
-
tx0/ts:membership-test-misusedefaultThe right side of
inorinstanceofis a value the operator cannot test against -
tx0/ts:namespace-object-calldefaultA built-in namespace object such as
MathorJSONis called like a function, which throws -
tx0/ts:nan-equality-testdefaultA value is compared with NaN, which equals nothing
-
tx0/ts:negative-zero-comparisondefaultA value is compared with
-0, which comparisons do not tell from0 -
tx0/ts:new-non-constructordefaultnewis applied toSymbolorBigInt, which throws -
tx0/ts:parse-int-radixdefaultparseIntis given a radix outside 2 to 36, so it always returns NaN -
tx0/ts:pattern-binds-nothingdefaultAn empty
{}or[]in a declaration binds no name -
tx0/ts:promise-as-conditiondefaultA condition tests the promise of an async call, which is always true
-
tx0/ts:promise-executor-returndefaultThe executor of a promise returns a value, which does not settle the promise
-
tx0/ts:read-only-assigndefaultA constant or an imported binding is assigned, which throws when it runs
-
tx0/ts:regex-never-matchesdefaultA pattern contains
[], a set that no character fits -
tx0/ts:regexp-bad-argumentdefaultRegExpis given a malformed pattern or unknown flags as literals, which throws -
tx0/ts:relational-chaindefaulta < b < ccompares the boolean result ofa < bwithc -
tx0/ts:repeated-jsx-attributedefaultA JSX element sets the same attribute twice, and the first value is ignored
-
tx0/ts:return-skips-catchdefaultA promise returned from a
tryblock withoutawaitescapes itscatchandfinally -
tx0/ts:self-assignmentdefaultA variable is assigned to itself
-
tx0/ts:self-importdefaultAn import names the file it is written in
-
tx0/ts:setter-value-discardeddefaultA value returned from a setter is discarded by every assignment
-
tx0/ts:swapped-assign-operatordefault=+,=-or=!is written where+=,-=or!=was likely meant -
tx0/ts:typeof-comparisondefaultThe result of
typeofis compared with a value it never has -
tx0/ts:unexpected-multilinedefaultA line starting with
(,[or a template continues the expression above -
tx0/ts:unreachable-codedefaultCode that can never run
-
tx0/ts:unread-private-memberdefaultA private field or method is never referenced inside its class
-
tx0/ts:unsafe-finallydefaultreturn,breakorcontinueleaves afinallyblock -
tx0/ts:unsafe-negationdefault!negates the left operand ofinorinstanceofinstead of the test -
tx0/ts:unsafe-optional-chainingdefaultA
?.chain ends whereundefinedthrows aTypeError -
tx0/ts:unthrown-errordefaultAn error is created and dropped instead of thrown
-
tx0/ts:use-before-declarationdefaultA
let,constor class is used before its declaration runs, which throws -
tx0/ts:useless-catchdefaultA
catchclause only throws the error it caught again -
tx0/ts:wrong-loop-directiondefaultA loop steps its counter away from the bound of its condition
Recommended: 99 rules
Likely bugs, resource and performance problems.
-
tx0/ts:array-callback-returnrecommendedThe callback of an array method that uses its result never returns one
-
tx0/ts:arrow-bindrecommendedbindis called on an arrow function, whosethiscannot change -
tx0/ts:await-in-looprecommendedawaitinside a loop runs the iterations one after another -
tx0/ts:await-plain-valuerecommendedawaitis applied to a value that is never a promise -
tx0/ts:bang-after-optional-chainrecommended!claims that an optional chain, which may giveundefined, is set -
tx0/ts:bare-blockrecommendedA block stands inside another block without a reason
-
tx0/ts:boxed-primitiverecommendednew String,new Numberornew Booleancreates an object instead of a primitive -
tx0/ts:branch-countrecommendedA function has more decision points than the configured maximum
-
tx0/ts:broken-cipherrecommendedData is encrypted with DES, RC4, Blowfish or in ECB mode
-
tx0/ts:broken-hash-functionrecommendedA digest is computed with MD5, SHA-1 or another algorithm with known collisions
-
tx0/ts:builtin-prototype-changerecommendedThe prototype of a built-in such as
Arraygains or changes a member for the whole program -
tx0/ts:callback-thisrecommendedA function expression given to an array method uses
this, which isundefinedthere -
tx0/ts:case-countrecommendedA switch has more cases than the configured maximum
-
tx0/ts:case-scoped-declarationrecommendedA
let,const, function or class is declared directly in acaseand is visible in every other one -
tx0/ts:cipher-without-ivrecommendedcreateCipherderives key and IV from a password, without salt -
tx0/ts:cleartext-requestrecommendedA request is sent to an
http://orws://address -
tx0/ts:closure-over-loop-variablerecommendedA function created in a loop uses a
varcounter that the loop keeps changing -
tx0/ts:comment-in-jsx-textrecommendedText between JSX tags starts with
//or/*and is rendered instead of being a comment -
tx0/ts:cond-assignrecommendedA condition is an assignment, which may be a mistyped comparison
-
tx0/ts:conditional-hook-callrecommendedA React hook is called only on some renders, behind a condition, loop or early return
-
tx0/ts:constructor-adds-nothingrecommendedA constructor does only what the implicit one would
-
tx0/ts:cookie-without-http-onlyrecommendedA cookie is set with
httpOnlyturned off, so scripts can read it -
tx0/ts:cookie-without-securerecommendedA cookie is set without the
secureattribute -
tx0/ts:cors-any-originrecommendedThe CORS policy lets every website read the responses
-
tx0/ts:csp-unsafe-sourcerecommendedA content security policy allows inline script or
eval -
tx0/ts:declaration-reassignrecommendedThe name of a function or class declaration is assigned another value
-
tx0/ts:deep-function-nestingrecommendedFunctions are nested inside each other deeper than the configured maximum
-
tx0/ts:default-before-caserecommendedA
defaultclause is followed by acaseclause -
tx0/ts:dotfiles-servedrecommendedA static file server is told to serve files whose names start with a dot
-
tx0/ts:duplicate-import-sourcerecommendedTwo import declarations read the same module
-
tx0/ts:dynamic-scope-withrecommendedNames inside
with (obj)resolve against an object at run time -
tx0/ts:empty-blockrecommendedA block is empty
-
tx0/ts:empty-catchrecommendedA
catchblock ignores the error without saying why -
tx0/ts:empty-import-listrecommendedAn import or re-export declaration lists no names
-
tx0/ts:endless-looprecommendedA loop with an always-true condition has no
break,returnorthrow -
tx0/ts:enum-value-clashrecommendedTwo members of an enum have the same value, or the enum mixes numbers and strings
-
tx0/ts:eval-like-callrecommendedA string is run as code with
eval,Functionor a timer -
tx0/ts:extra-call-argumentsrecommendedA function of this file is called with more arguments than it has parameters
-
tx0/ts:fallthroughrecommendedA case of a switch runs on into the next without a comment saying so
-
tx0/ts:for-counter-changed-in-bodyrecommendedThe body of a for loop assigns the counter that its head steps
-
tx0/ts:foreach-result-usedrecommendedThe result of
forEach, which is alwaysundefined, is stored -
tx0/ts:generator-without-yieldrecommendedA generator function contains no
yield, so it produces no values -
tx0/ts:hardcoded-credentialrecommendedA password, API key or other secret is written into the source as a literal
-
tx0/ts:hostname-check-disabledrecommendedThe hostname check of a TLS connection is replaced by one that accepts every host
-
tx0/ts:html-string-sinkrecommendedA computed string is parsed as HTML through
innerHTML,insertAdjacentHTMLordocument.write -
tx0/ts:index-of-misuserecommendedindexOfis tested with> 0, which misses index 0, or searches for NaN, which it never finds -
tx0/ts:interface-constructor-methodrecommendedAn interface declares a method named
constructorwhere anewsignature was meant -
tx0/ts:jwt-none-algorithmrecommendedA JSON web token is issued or accepted unsigned, with the algorithm
none -
tx0/ts:label-on-non-looprecommendedA label marks a statement that is not a loop, switch or block
-
tx0/ts:leftover-debuggerrecommendedExecution pauses at a
debuggerkeyword left in the code -
tx0/ts:legacy-introspectionrecommendedCode reaches for
__proto__,arguments.calleeor another pre-standard property -
tx0/ts:legacy-module-keywordrecommendedA namespace is declared with the old keyword
module -
tx0/ts:legacy-octal-escaperecommendedA string uses a legacy octal escape or escapes a digit
-
tx0/ts:legacy-octal-numberrecommendedA number literal starts with
0and another digit, which reads as octal -
tx0/ts:legacy-ref-namerecommendedA JSX
refis given as a plain name in quotes, which current React ignores -
tx0/ts:list-item-without-keyrecommendedA JSX element rendered as part of a list has no
key -
tx0/ts:literal-widening-assertionrecommendedA literal is asserted with
asto the primitive type it already has -
tx0/ts:logical-operator-countrecommendedAn expression chains more
&&,||and??operators than the configured maximum -
tx0/ts:long-function-bodyrecommendedA function body spans more lines than the configured maximum
-
tx0/ts:loop-runs-oncerecommendedA loop's body always leaves the loop on its first pass
-
tx0/ts:message-origin-uncheckedrecommendedA window
messagehandler never reads where the event came from -
tx0/ts:needless-non-nullrecommendedA
!is applied to a value that can never benullorundefined -
tx0/ts:negated-equality-operandrecommended!a === bnegates the left operand instead of the comparison -
tx0/ts:nesting-depthrecommendedControl statements are nested deeper than the configured maximum
-
tx0/ts:nesting-weighted-complexityrecommendedA function's branches, weighted by how deeply they are nested, add up to more than the configured maximum
-
tx0/ts:parameter-countrecommendedA function takes more parameters than the configured maximum
-
tx0/ts:pattern-control-coderecommendedA pattern matches a control code below U+0020 other than tab or a line break
-
tx0/ts:pointless-final-jumprecommendedA
returnorcontinueat the end of its body changes nothing -
tx0/ts:post-message-any-originrecommendedpostMessagesends data to whatever origin the target window has, with"*" -
tx0/ts:predictable-secretrecommendedMath.randomproduces a value that is named as a token, password or other secret -
tx0/ts:private-key-literalrecommendedA string literal contains a PEM private key
-
tx0/ts:react-raw-htmlrecommendeddangerouslySetInnerHTMLis given markup that is not a literal -
tx0/ts:redundant-boolean-castrecommendedA value is converted to a boolean where it is tested as one already
-
tx0/ts:regex-anchor-scoperecommended^or$applies to one alternative of a regular expression while it looks meant for all -
tx0/ts:regex-empty-branchrecommendedA regular expression has an empty alternative or an empty capturing group
-
tx0/ts:regex-nested-repetitionrecommendedAn unbounded repetition in a regular expression contains another one, which can backtrack exponentially
-
tx0/ts:reject-with-non-errorrecommendedA literal is thrown or used to reject a promise, so it carries no stack trace
-
tx0/ts:rename-to-same-namerecommendedAn import, export or pattern spells out a rename whose target equals its source
-
tx0/ts:repeated-collection-elementrecommendedThe initial values of a
Setlist the same literal twice -
tx0/ts:repeated-type-memberrecommendedA union or intersection type lists the same type twice
-
tx0/ts:restricted-name-shadowedrecommendedA declaration hides
undefined,NaN,Infinity,evalorarguments -
tx0/ts:sanitizer-bypassrecommendedA computed value is marked as trusted, so Angular's sanitizer passes it through
-
tx0/ts:script-urlrecommendedA
javascript:URL runs its text as code when it is followed -
tx0/ts:security-header-disabledrecommendedA protective response header of helmet is turned off
-
tx0/ts:set-lists-character-twicerecommendedA
[...]set in a pattern lists one character twice -
tx0/ts:shell-command-stringrecommendedA command line built from values is run through a shell by
child_process -
tx0/ts:sparse-arrayrecommendedAn array literal has a hole between two elements
-
tx0/ts:sql-string-buildingrecommendedAn SQL statement is built from a template or concatenation with values
-
tx0/ts:state-write-without-renderrecommendedA class component writes
this.stateoutside the constructor, which does not render -
tx0/ts:tls-verification-disabledrecommendedCertificate verification of a TLS connection is turned off
-
tx0/ts:unawaited-async-callrecommendedThe promise of an async call inside an async function is dropped without
await -
tx0/ts:unused-importrecommendedAn imported name is never used in the file
-
tx0/ts:unused-localrecommendedA local variable, function or class is declared but never read
-
tx0/ts:useless-expressionrecommendedAn expression statement has no effect
-
tx0/ts:weak-key-sizerecommendedAn RSA or DSA key pair is generated with fewer than 2048 bits
-
tx0/ts:weak-tls-versionrecommendedA TLS connection allows SSL 3.0, TLS 1.0 or TLS 1.1
-
tx0/ts:world-writable-moderecommendedA file mode lets any user of the machine modify the file
-
tx0/ts:wrapper-type-annotationrecommendedA type is written as
String,Numberor another wrapper object instead of the primitive -
tx0/ts:xml-external-entitiesrecommendedAn XML parser is configured to expand external entities
Strict: 104 rules
Code that can be written more plainly.
-
tx0/ts:angle-bracket-assertionstrictA type assertion is written
<T>valueinstead ofvalue as T -
tx0/ts:anonymous-default-exportstrictThe default export is a function or class without a name
-
tx0/ts:apply-for-spreadstrict.applypasses an array of arguments where spread syntax would -
tx0/ts:arguments-objectstrictA function reads the
argumentsobject instead of a rest parameter -
tx0/ts:array-literal-candidatestrictAn array is built by calling
Arraywhere a literal says the same -
tx0/ts:async-without-awaitstrictAn async function contains no
await -
tx0/ts:backtick-string-without-placeholderstrictA template literal has no substitution, so a string would do
-
tx0/ts:blanket-lint-disablestrictA comment turns off every lint rule at once instead of naming one
-
tx0/ts:blocking-dialogstrictalert,confirmorpromptopens a dialog that blocks the page -
tx0/ts:boolean-return-wrappedstrictAn if statement returns
truein one branch andfalsein the other -
tx0/ts:boolean-ternarystrictA conditional expression picks between
trueandfalse -
tx0/ts:call-with-same-thisstrict.callor.applypasses the samethisthat a plain call would -
tx0/ts:cast-through-unknownstrictA value is cast to
unknownoranyand then to another type, bypassing the check -
tx0/ts:chained-assignmentstrictThe value of an assignment or declaration is another assignment
-
tx0/ts:class-member-countstrictA class declares more members than the configured maximum
-
tx0/ts:class-namingstrictA class or type name does not follow the configured case style
-
tx0/ts:collapsible-ifstrictAn if statement without else is the only statement of another
-
tx0/ts:comma-sequencestrictThe comma operator joins expressions outside a for head
-
tx0/ts:compare-to-true-falsestrictAn expression is tested against
trueorfalsewith an equality operator -
tx0/ts:compound-assignment-candidatestrictA variable is assigned the result of an operation on itself, written out in full
-
tx0/ts:concat-instead-of-templatestrictStrings are joined with values by
+where a template literal would read better -
tx0/ts:console-callstrictconsole.logor a sibling writes output directly -
tx0/ts:date-for-timestampstrictA
Dateobject is created only to read the current time as a number -
tx0/ts:default-parameter-before-requiredstrictA parameter with a default value comes before one without
-
tx0/ts:disabled-code-commentstrictA comment holds code that was switched off
-
tx0/ts:duplicate-stringstrictThe same string literal is written more often than the configured maximum in a file
-
tx0/ts:else-after-returnstrictAn
elsefollows a branch that always leaves, so it only adds nesting -
tx0/ts:else-if-without-elsestrictAn if-else-if chain has no final else
-
tx0/ts:empty-interfacestrictAn interface declares no members of its own
-
tx0/ts:environment-specific-globalstrictA member is read from a name for the global object that only some environments define
-
tx0/ts:eqeqeqstrict==or!=compares with type conversion -
tx0/ts:explicit-anystrictA type is written as
any, which switches off type checking for the value -
tx0/ts:exported-letstrictA module exports a binding that can be reassigned
-
tx0/ts:file-lengthstrictA file has more lines of code than the configured maximum
-
tx0/ts:filter-for-existencestrictAn array is filtered whole only to test for a match or take the first one
-
tx0/ts:for-as-whilestrictA for loop has a condition but neither initializer nor update
-
tx0/ts:function-namingstrictA function or method name does not follow the configured case style
-
tx0/ts:global-number-functionstrictparseIntorparseFloatis called through the global scope instead ofNumber -
tx0/ts:glued-quoted-stringsstrictTwo quoted strings on one line are glued with
+ -
tx0/ts:hardcoded-ip-addressstrictA string literal is an IP address of a particular machine
-
tx0/ts:has-own-property-callstricthasOwnPropertyis borrowed from the prototype ofObjectand called -
tx0/ts:identical-function-bodiesstrictTwo functions in a file have the same body
-
tx0/ts:index-as-keystrictA list element's
keyis its index in the array -
tx0/ts:index-of-existencestrictThe position from
indexOfis compared only to learn whether an element is present -
tx0/ts:instance-replaced-by-returnstrictA
returnwith a value in a constructor replaces or drops the new instance -
tx0/ts:json-deep-clonestrictAn object is copied by printing it as JSON and parsing it again
-
tx0/ts:let-annotation-repeats-literalstrictA
letinitialized with a literal is annotated with the type it would get anyway -
tx0/ts:line-continuation-stringstrictA string literal continues on the next line after a backslash
-
tx0/ts:line-lengthstrictA line is longer than the configured maximum
-
tx0/ts:link-target-blankstrictA link opens a new tab without
rel="noopener" -
tx0/ts:lonely-if-in-elsestrictAn else block holds a single if statement
-
tx0/ts:map-then-flatstrict.map(...).flat()maps and flattens in two passes -
tx0/ts:math-pow-callstrictMath.powraises a number to a power where**would -
tx0/ts:method-without-thisstrictA class method never uses
this, so it does not need an instance -
tx0/ts:min-max-ternarystrictA conditional expression picks the smaller or larger of two values by hand
-
tx0/ts:missing-bracesstrictThe body of a control statement is a single statement without braces
-
tx0/ts:namespace-declarationstrictA TypeScript namespace groups code that modules could hold
-
tx0/ts:needless-fragmentstrictA JSX fragment wraps a single element or sits directly inside another element
-
tx0/ts:negated-if-with-elsestrictAn if statement with an else branch tests a negated condition
-
tx0/ts:nested-conditional-expressionstrictA conditional expression is an operand of another
-
tx0/ts:new-on-lowercase-namestrictnewis applied to a name starting with a lower-case letter -
tx0/ts:no-varstrictA variable is declared with
var -
tx0/ts:node-builtin-without-protocolstrictA module that Node has built in is loaded by its bare name, without
node: -
tx0/ts:object-assign-copystrictObject.assigncopies into an object literal where a spread would -
tx0/ts:object-constructor-callstrictAn empty object is built by calling
Objectinstead of writing{} -
tx0/ts:object-shorthandstrictAn object property repeats the name of the variable that gives its value
-
tx0/ts:optional-also-undefinedstrictA parameter or property marked
?also listsundefinedin its type -
tx0/ts:optional-chain-candidatestricta && a.btests an object before reading from it where?.would -
tx0/ts:parameter-reassignedstrictA function body gives one of its parameters a new value
-
tx0/ts:parse-int-without-radixstrictparseIntis called without a radix -
tx0/ts:pattern-space-runstrictA
/.../literal contains a run of spaces -
tx0/ts:prefer-conststrictA variable declared with
letis never assigned again -
tx0/ts:promise-all-singlestrictPromise.allor a sibling combines a list of only one promise -
tx0/ts:promise-wrap-in-asyncstrictAn async function returns
Promise.resolveorPromise.rejectof a value -
tx0/ts:quoted-member-accessstrictA property with a plain name is read with brackets and a string
-
tx0/ts:reduce-without-initialstrictreduceis called without an initial value and throws on an empty array -
tx0/ts:redundant-computed-keystrictA computed property name is a literal written in brackets
-
tx0/ts:redundant-escapestrictA backslash escapes a character that means the same without it
-
tx0/ts:redundant-return-awaitstrictreturn awaitoutside atrywaits for a promise the async function would return anyway -
tx0/ts:require-in-modulestrictrequireloads a module in a file that usesimportandexport -
tx0/ts:return-countstrictA function has more
returnstatements than the configured maximum -
tx0/ts:return-of-fresh-variablestrictA value is stored in a variable only to be returned or thrown right after
-
tx0/ts:reversed-equality-operandsstrictAn equality comparison puts the literal before the value it tests
-
tx0/ts:self-comparisonstrictA value is compared with itself to test for NaN
-
tx0/ts:setter-without-getterstrictA property has a setter but no getter, so reading it gives
undefined -
tx0/ts:shadowed-variablestrictA declaration hides a variable of an enclosing scope
-
tx0/ts:sort-without-comparatorstrictsortortoSortedis called without a compare function and orders elements as strings -
tx0/ts:substr-callstrictThe legacy string method
substris called -
tx0/ts:switch-in-switchstrictA switch is inside a case of another switch
-
tx0/ts:switch-without-defaultstrictA switch handles only listed cases and none for other values
-
tx0/ts:template-in-stringstrictA string with quotes contains a
${...}placeholder, which is not replaced -
tx0/ts:template-in-templatestrictA template literal is inside a substitution of another
-
tx0/ts:this-aliasstrictthisis copied into a variable -
tx0/ts:tiny-switchstrictA switch has fewer than three clauses
-
tx0/ts:todo-commentstrictA comment marks unfinished work with TODO, FIXME or XXX
-
tx0/ts:trim-left-rightstrictThe legacy names
trimLeftortrimRightare called -
tx0/ts:triple-slash-referencestrictA
/// <reference path>comment includes another file instead of an import -
tx0/ts:trivial-type-constraintstrictA type parameter is constrained to
unknownorany, which every type satisfies -
tx0/ts:ts-ignore-commentstrictA
@ts-ignoreor@ts-nocheckcomment hides compiler errors without naming one -
tx0/ts:typeof-on-declared-namestricttypeoftests a declared variable or a property against"undefined" -
tx0/ts:unchecked-bangstrictA
!claims without a check that a value is neithernullnorundefined -
tx0/ts:undefined-initializerstrictA variable is declared with
undefinedas its initial value -
tx0/ts:var-redeclaredstrictThe same name is declared twice with
varin one function -
tx0/ts:variable-namingstrictA variable or parameter name does not follow the configured case style