github sindresorhus/eslint-plugin-unicorn v75.0.0

20 hours ago

New rules

Improvements

  • Add TOML support (#3687) f61393a
  • Improve performance 3cfa32c
  • prefer-continue: Add checkShortBodies option (#3699) 274d581
  • filename-case: Add directoryRoots option (#3647) d2d6cc3
  • custom-error-definition: Allow flexible options placement (#3698) 2f8e2e5
  • prefer-smaller-scope: Check initialized declarations (#3697) 960b374
  • no-unsafe-string-replacement: Allow safe repeated strings (#3696) 742bdce
  • no-array-fill-with-reference-type: Recognize function return types (#3695) 60f00ff
  • prefer-continue: Support trailing conditionals (#3694) bf480f6
  • no-immediate-mutation: Support conditionals (#3688) 73235b9
  • prefer-set-methods: Extend supported methods (#3674) 3459a29
  • prefer-minimal-ternary: Check property reads with checkComputedMemberAccess (#3673) 37d7614
  • prefer-array-from-async: Recognize ordinary serial mapping loops (#3671) 65ad1bb
  • prefer-uint8array-base64: Prefer native encoding options (#3665) 6ecc912
  • prefer-group-by: Recognize accumulation loops (#3664) a8e7d0e
  • no-negated-condition: Preserve comments in autofixes (#3662) 8f407a7
  • prefer-minimal-ternary: Support objects, arrays, and constructors (#3658) 40c860a
  • prefer-ternary: Handle flat return statements (#3657) 2edc158
  • no-useless-else: Prevent unsafe combined fixes (#3654) 7beaf7d
  • no-useless-length-check: Check for…of loops (#3652) fdf47c5
  • no-unknown-css-annotations: Fix identifier lookup across @eslint/css-tree versions 9b6f37b
  • prefer-dom-node-replace-children: Combine consecutive mutations (#3648) 52dd1ce

v74.0.0...v75.0.0

Don't miss a new eslint-plugin-unicorn release

NewReleases is sending notifications on new releases.