Skip to content

0.9.0

Compare
Choose a tag to compare
@vilchik-elena vilchik-elena released this 05 Jul 07:22
· 124 commits to master since this release
87df5c9

New rules:

  • no-ignored-return Return values from functions without side effects should not be ignored #40
  • elseif-without-else "if ... else if" constructs should end with "else" clauses #238
  • no-gratuitous-expressions Boolean expressions should not be gratuitous #149
  • generator-without-yield Generators should "yield" something #235
  • no-nested-switch "switch" statements should not be nested #240
  • no-nested-template-literals Template literals should not be nested #63
  • no-empty-collection Empty collections should not be accessed or iterated #151
  • non-existent-operator Non-existent operators '=+', '=-' and '=!' should not be used #234

Improvements:

  • Improve highlighting for no-extra-arguments #178
  • Improve prefer-immediate-return: keep comments when fixing #198
  • Add meta.docs for each rule #246 (contributed by @Loxos)
  • Indicate which rules are part of the preset, and which aren't #165
  • Improve prefer-while: ignore 'for' without condition #196
  • no-unused-collections should not fire if collection is exported #197 (contributed by @pustovitDmytro)
  • Fix cognitive-complexity: consider JSX Fragment #245 (contributed by @Anuovec)

Thanks a lot to the contributions!