Skip to content

v34.0.0

Compare
Choose a tag to compare
@sindresorhus sindresorhus released this 28 Jun 10:44
· 492 commits to main since this release

New rules

Improvements

  • prefer-module: Ignore .cjs files (#1355) ebdc3c2
  • error-message: Support AggregateError (#1351) e7b4300
  • filename-case: Enforce lowercased file extension (#1336) 119615b
  • expiring-todo-comments: More helpful error when no conditions (#1375) 914a996
  • prefer-array-some and prefer-regexp-test: Support Vue SFC (#1364) a46050e
  • explicit-length-check: Support v-show directive (#1363) f163c4a
  • explicit-length-check: Support Vue SFC files (#1360) 9199611
  • prefer-type-error: Improve report location (#1354) bc3d58b
  • no-useless-undefined: Ignore Set#add() Map#set() Array#{push,unshift}() (#1353) c6359c3
  • prefer-prototype-methods: Only check methods from [] and {} (#1347) 29a4e75
  • prefer-array-some: Report non-zero check on array.filter().length (#1337) f8aaac2
  • Use context.getPhysicalFilename() (#1344) e2540cb

Fixes

  • prefer-array-find and prefer-at: Fix crash on LHS zero index access (#1373) da1f6d8
  • prefer-prototype-methods: Fix a missing condition on object literal check (#1332) cec7f11

v33.0.1...v34.0.0