Skip to content

v42.0.0

Compare
Choose a tag to compare
@sindresorhus sindresorhus released this 01 Apr 14:39
· 306 commits to main since this release

The project has passed 100 lint rules πŸŽ‰

Thanks to everyone that has contributed so far.

And special thanks to our team member @fisker for doing most of the work on this project. We could not have gotten this far without him.

New rules

Improvements

  • template-indent: Set the rule error instead of warn in recommended preset (#1781) 09923af
  • prefer-json-parse-buffer: Remove from recommended preset (#1750) 93f49f2
  • no-array-for-each: Add fixer for parenthesized call (#1784) 5f39c37
  • no-array-for-each: Handle optional chaining (#1753) 1d32db4
  • prefer-object-from-entries: Stop checking unknown cases (#1771) 309771d
  • prefer-string-trim-start-end: Check optional chaining (#1768) 1920597
  • no-useless-undefined: Ignore arguments in Function#bind() (#1762) c501243
  • prefer-ternary: Skip fix if there are comments (#1763) 3013565
  • text-encoding-identifier-case: Auto-fix encoding in fs.{readFile,readFileSync}() (#1755) 5e1c932
  • Add dist and dst abbreviations (#1756) dffcea8

Fixes

  • no-array-for-each: Handle ChainExpression correctly (#1772) e615a37

v41.0.1...v42.0.0