Skip to content

Releases: sindresorhus/eslint-plugin-unicorn

v15.0.1

23 Dec 18:48

Choose a tag to compare

  • Fix Node.js 8 compatibility 54d3a01

v15.0.0...v15.0.1

v15.0.0

22 Dec 17:44

Choose a tag to compare

New rules

Enhancements

  • Add more prevent-abbreviations rule replacements and whitelist (#464) cfd3d49

Fixes

  • Fix invalid autofix with destructuring assignment in no-for-loops rule (#476) 44a67f1

v14.0.1...v15.0.0

v14.0.1

30 Nov 09:05

Choose a tag to compare

  • Fix crashing issues with the regex-shorthand rule (#454) db41877

v14.0.0...v14.0.1

v14.0.0

29 Nov 10:00

Choose a tag to compare

New rules

Improvements

  • Extend fixers for prefer-string-slice rule (#424) 567c970
  • Add ignoreImports option to import-index rule (#421) bda7769
  • Make regex-shorthand rule use regexp-tree for regex literals (#437) 3554c17

Fixes

  • Fix prevent-abbreviations rule fixer bug (#444) fa8c80e
  • Fix custom-error-definition rule to support constructors without a body (#442) a496e96

v13.0.0...v14.0.0

v13.0.0

15 Nov 05:08

Choose a tag to compare

Breaking

  • Change some options for prevent-abbreviations rule (#422) 4d5f5cb
    The checkDefaultAndNamespaceImports and checkShorthandImports options accept a string instead of a boolean now. The default value changed from always checking to only checking internal imports (meaning local modules and not published packages).

Enhancements

Fixes

v12.1.0...v13.0.0

v12.1.0

10 Oct 19:10

Choose a tag to compare

  • Improve prefer-includes rule (#411) 32851cc
  • Set checkProperties default value to false for prevent-abbreviations (#404) d279f2a

v12.0.2...v12.1.0

v12.0.2

03 Oct 08:27

Choose a tag to compare

  • Fix an error where the rules in some situation could not be found a026ae5
  • Set allowWarningComments option default to true for expiring-todo-comments rule (#400) 5f409ff

v12.0.1...v12.0.2

v12.0.1

26 Sep 04:15

Choose a tag to compare

  • Handle lack of package.json in expiring-todo-comments rule (#397) f9f6ee6

v12.0.0...v12.0.1

v12.0.0

25 Sep 10:17

Choose a tag to compare

New rules

Enhancements

  • Update filename-case rule to handle complicated filename (#381) 871dab7
  • Update prevent-abbreviations to ignore uppercase letters (#379) 50e6655

Fixes

  • Fix the expiring-todo-comments rule for programmatic usage of ESLint (#385) b5cf874
  • Don't report no-process-exit rule in worker threads (#388) 90ca979

v11.0.2...v12.0.0

v11.0.2

22 Sep 09:10

Choose a tag to compare

  • unicorn/prefer-dataset: Fix querySelector fixer (#383) 3ba54e9

v11.0.1...v11.0.2