Skip to content

v32.0.0

Compare
Choose a tag to compare
@sindresorhus sindresorhus released this 09 May 10:19
· 603 commits to main since this release

Breaking

New rules

Improvements

  • no-for-loop: Ignore known non-array loop variables (#1242) 29f6b45
  • prefer-array-find: Singularize variable name in autofix (#1243) 6b340a3
  • prefer-switch: Do not add braces to the default case (#1235) c241782
  • no-zero-fractions: Handle numeric separators, fix missing parentheses, improve report location (#1238) 2724afa
  • no-array-for-each: Better error message (#1239) 2e82dc8
  • prefer-switch: Avoid conflict with no-unreachable rule (#1234) 1c78d0c
  • prefer-optional-catch-binding: Support checking destructured errors (#1229) a0b2f4f
  • no-array-for-each: Support autofixing complicated parameters (#1228) d84143f
  • prefer-negative-index: Support Array#at() (#1217) 6443ee3
  • explicit-length-check: Check Set#size (#1226) 6a745a0
  • filename-case: Improve report position (#1227) 3d4ac1b

Fixes

  • prevent-abbreviations: Fix shorthand import/export detection (#1215) a669e31

v31.0.0...v32.0.0