This release adds many new JavaScript and TypeScript rules using Sourcery's (alpha-stage) multi-language functionality.
If you are interested in getting access to the Beta for Sourcery for JavaScript and Typescript, please sign up here.
no-eval
JavaScript ruleremove-redundant-boolean
JavaScript ruleuse-braces
JavaScript ruledont-negate-is-instanceof-operands
JavaScript ruleremove-unreachable-code
JavaScript rulemisplaced-break-or-continue
JavaScript ruledont-shadow-arguments
JavaScript ruleremove-redundant-if-statement
JavaScript ruledont-reassign-parameters
JavaScript ruleinline-immediately-returned-variable
JavaScript ruleavoid-function-declarations-in-blocks
JavaScript rulesimplify-boolean-comparison
will now trigger in
match-case guard clausespossible-incorrect-bitwise-operator
JavaScript ruledont-self-assign-variables
JavaScript rulegenerators-should-yield
JavaScript rulethrow-new-errors
JavaScript ruleremove-redundant-slice-index
JavaScript ruleonly-delete-object-properties
JavaScript ruledont-use-with
JavaScript ruledont-concatenate-string-literals
JavaScript ruleno-new-symbol
JavaScript rulereturn-outside-function
JavaScript ruleyield-outside-generator
JavaScript ruleavoid-infinite-loops
JavaScript ruleuse-array-literal
to handle argumentsuse-object-destructuring
and combine-object-destructure
extended to also
work for let
statementsuse-braces
refactoringremove-dict-keys
no longer proposed when the target has multiple valuesmerge_assign_and_aug_assign
can no longer incorrectly lead to access to a
variable not assigned yetdict-literal
, list-literal
and remove-unnecessary-cast
from
incorrectly triggering in match-case patterns