Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Update dependency eslint-plugin-unicorn to v45 #523

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 1, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-unicorn 21.0.0 -> 45.0.2 age adoption passing confidence

Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.


Release Notes

sindresorhus/eslint-plugin-unicorn

v45.0.2

Compare Source

  • prefer-string-replace-all: Don't crash on invalid pattern (#​2011) 3bbe027
  • prevent-abbreviations: Skip fix for variables used in Vue template (#​2012) 8cd1ded

v45.0.1

Compare Source

v45.0.0

Compare Source

New rules
Improvements
  • prefer-at: Support private fields (#​1929) 60bb455
  • no-useless-undefined: Ignore Array#includes() and Set#has() (#​1951) 8dfd5a7
  • no-useless-spread: Check cloning inline arrays (#​1980) 5d90d73
  • prefer-top-level-await: Ignore expressions in class (#​1976) b90a3aa
  • prefer-string-replace-all: Improve RegExp to string fix (#​1971) b844dbc
  • prefer-string-replace-all: Check pattern even if it's already using .replaceAll (#​1981) e8c5156
  • prefer-string-replace-all: Report all String#replace() when the pattern has g flag (#​1965) 6316f05
  • prefer-string-replace-all: Ignore regex with pipe (#​1962) 76deaa3
  • prefer-regexp-test: Use suggestions if not sure regexp without g flag (#​1954) 505a203
  • no-array-for-each: Skip fix for some edge cases (#​1979) 48efc7a
  • prefer-add-event-listener: Only fix ExpressionStatement, check operator (#​1955) aca21f2
  • prevent-abbreviations: Improve fix for retVal (#​1953) 25cd810
Fixes

v44.0.2

Compare Source

  • no-array-method-this-argument: Ignore lodash.findLast and lodash.findLastIndex (#​1927) 86e8add

v44.0.1

Compare Source

v44.0.0

Compare Source

New rules
Improvements
Fixes
  • no-await-expression-member: Fix crash on TypeScript parser (#​1910) b002e75
  • prevent-abbreviations: Skip fix when variable is JSX component (#​1907) 9ed08ab
  • better-regexp: Don't fix if .source or .toString() is used (#​1903) 8ad592b

v43.0.2

Compare Source

  • prefer-spread: Ignore Array#join().concat() and (a + b).concat() (#​1859) ab71971

v43.0.1

Compare Source

  • Remove prefer-event-target from the recommended preset 4d2faac
    • EventTarget requires Node.js 16 and we target Node.js 14. We'll enable it again in a year when we can target Node.js 16.

v43.0.0

Compare Source

New rules
Breaking
  • Require Node.js 14
Improvements
Fixes

v42.0.0

Compare Source

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
Fixes

v41.0.1

Compare Source

v41.0.0

Compare Source

New rules
Breaking
Fixes

v40.1.0

Compare Source

v40.0.0

Compare Source

New rules
Improvements
Fixes

v39.0.0

Compare Source

New rules
Improvements
Fixes
  • no-empty-file: Fix false positive with triple-slash directives (#​1605) 6354bb8
  • require-number-to-fixed-digits-argument: Ignore .toFixed from new expression (#​1601) 20d61e7
  • prefer-export-from: Fix bug on fixing export namespace as default (#​1583) b564ff1
  • Add missing additionalProperties to schema (#​1589) 579d05d

v38.0.1

Compare Source

v38.0.0

Compare Source

New rules
Improvements

v37.0.1

Compare Source

v37.0.0

Compare Source

New rules
Improvements

v36.0.0

Compare Source

New rules
Improvements
Fixes

v35.0.0

Compare Source

New rules
Breaking
  • explicit-length-check: Remove greater-than-or-equal option (#​1397) db1a2b5
    • It enabled a style that no one actually uses.
Improvements
Fixes

v34.0.1

Compare Source

v34.0.0

Compare Source

New rules
Improvements
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

Compare Source

  • prefer-prototype-methods: Ignore known object literal methods (#​1330) 639e7af

v33.0.0

Compare Source

New rules
Improvements
  • no-array-for-each: Handle only return statement inside if or else (#​1319) 298a104
  • new-for-builtins & no-new-buffer: Handle line breaks after new keyword (#​1301) d37439f
  • prefer-array-flat-map: Remove check on [].concat(...array.map(…)) (#​1299) 128b5aa
  • prefer-spread: Ignore {arrayBuffer,blob,buffer,file,this}.slice() (#​1287) e18d5f2
  • prefer-string-starts-ends-with: Add suggestions for safely handling non-strings (#​1277) f14a9d1
  • explicit-length-check: Ignore this.{size,length} (#​1289) ed85d00
  • prefer-string-starts-ends-with-rule: Don't autofix known non-string values (#​1281) a1c8984
  • explicit-length-check: Ignore known, non-number length properties (#​1264) 42f6487
  • empty-brace-spaces: Support experimental syntax (#​1276) fa68b6f
  • prefer-dom-node-remove: Improve parentheses handling (#​1254) 74e4d39
Fixes
  • prefer-array-flat: Fix incorrect fix, check Array.prototype.concat.call (#​1317) f6a939c

v32.0.1

Compare Source

  • prevent-abbreviations: Fix shorthand import/export detection (#​1252) 4367479

v32.0.0

Compare Source

Breaking
New rules
Improvements
Fixes
  • prevent-abbreviations: Fix shorthand import/export detection (#​1215) a669e31

v31.0.0

Compare Source

New rules

v30.0.0

Compare Source

New rules

Configuration

📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate
Copy link
Contributor Author

renovate bot commented Dec 1, 2022

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: sourcegraph-learn@0.1.0
npm ERR! Found: eslint@7.32.0
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"7.32.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@">=8.28.0" from eslint-plugin-unicorn@45.0.2
npm ERR! node_modules/eslint-plugin-unicorn
npm ERR!   dev eslint-plugin-unicorn@"45.0.2" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate-cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate-cache/others/npm/_logs/2023-01-07T15_16_21_037Z-debug-0.log

@renovate renovate bot force-pushed the renovate/eslint-plugin-unicorn-45.x branch 4 times, most recently from c11a573 to 27b1f9f Compare December 8, 2022 01:15
@renovate renovate bot force-pushed the renovate/eslint-plugin-unicorn-45.x branch from 27b1f9f to 9eb5fa4 Compare December 12, 2022 12:25
@renovate renovate bot force-pushed the renovate/eslint-plugin-unicorn-45.x branch from 9eb5fa4 to 1a2dec4 Compare January 7, 2023 15:04
@renovate renovate bot force-pushed the renovate/eslint-plugin-unicorn-45.x branch from 1a2dec4 to 171ebec Compare January 7, 2023 15:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants