Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

chore(deps-dev): Bump lint-staged from 9.5.0 to 10.0.0 #739

Merged
merged 1 commit into from
Jan 19, 2020

Conversation

dependabot-preview[bot]
Copy link

Bumps lint-staged from 9.5.0 to 10.0.0.

Release notes

Sourced from lint-staged's releases.

v10.0.0

10.0.0 (2020-01-19)

Bug Fixes

  • add all modified files to git index with git add . (bf532c2)
  • automatically add modifications only to originally staged files (083b8e7)
  • better workaround for git stash --keep-index bug (f3ae378)
  • correctly leave only staged files for running tasks (cfde9ca)
  • correctly recover when unstaged changes cannot be restored (d091f71)
  • correctly restore untracked files from backup stash (c7d0592)
  • error handling skips dropping backup stash after internal git errors (30b4809)
  • fail with a message when backup stash is missing (1b64239)
  • gitWorkflow handles active merge mode (2f1e886)
  • handle git MERGE_* files separately; improve error handling (da22cf2)
  • improve debug logging (f88e226)
  • keep untracked files around by backing them up (fc03fdc)
  • max arg length is by default half of the allowed to prevent edge cases (80406c2)
  • prevent Listr from hiding git add warning (cce9809)
  • restore metadata about git merge before running tasks (f8ddfc2)
  • retry failing apply with 3-way merge (76cb08f)
  • support binary files (7b3a334)
  • try applying unstaged changes before handling errors (357934f)
  • update warning about git add, and to README (6467a66)
  • workaround for stashing deleted files for git < 2.23 (1a87333)

Features

  • automatically stage task modifications (74ed28d)
  • bump Node.js version dependency to at least 10.13.0 (#747) (814b9df)
  • split tasks into chunks to support shells with limited max argument length (#732) (cb43872)
  • support async function tasks (20d5c5d)
  • throw error to prevent empty commits unless --allow-empty is used (#762) (8bdeec0)
  • use git stashes for gitWorkflow (40a5db1)
  • warn when task contains "git add" (5208399)

BREAKING CHANGES

  • Previously, lint-staged would allow empty commits in the situation where a linter task like "prettier --write" reverts all staged changes automatically. Now the default behaviour is to throw an error with a helpful warning message. The --allow empty option can be used to allow empty commits, or allowEmpty: true for the Node.js API.
  • Node.js v8 is no longer supported because it will reach EOL on 2019-12-31
  • Prior to version 10, tasks had to manually include git add as the final step. This behavior has been integrated into lint-staged itself in order to prevent race conditions with multiple tasks editing the same files. If lint-staged detects git add in task configurations, it will show a warning in the console. Please remove git add from your configuration after upgrading.

v10.0.0-beta.15

10.0.0-beta.15 (2020-01-08)

Features

... (truncated)
Commits
  • 072924f Merge pull request #724 from okonet/beta
  • f9e128d docs: Improve config section documentation
  • e1cd6ba Merge branch 'master' into beta
  • af58e6e docs: refine examples formatting (#767)
  • 82bee06 Merge branch 'master' into beta
  • af4604a docs: Improve documentation on the --debug flag (#766)
  • bd3721f Merge branch 'master' into beta
  • 8bdeec0 feat: throw error to prevent empty commits unless --allow-empty is used (#762)
  • 2cd1d37 docs: add funding property to package.json linking to Open Collective (#763)
  • 056723b docs: Document how to deal with eslintignore warnings (#759)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.5.0 to 10.0.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](lint-staged/lint-staged@v9.5.0...v10.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jan 19, 2020
@vercel
Copy link

vercel bot commented Jan 19, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/nateradebaugh/nateradebaughreact-datetime/e1st1mf9h
✅ Preview: https://nateradebaugh-react-d-git-dependabot-npmandyarnlint-stag-78ee8d.nateradebaugh.now.sh

@kodiakhq kodiakhq bot merged commit 01bf2b1 into master Jan 19, 2020
@kodiakhq kodiakhq bot deleted the dependabot/npm_and_yarn/lint-staged-10.0.0 branch January 19, 2020 18:53
@codecov
Copy link

codecov bot commented Jan 19, 2020

Codecov Report

Merging #739 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #739   +/-   ##
=======================================
  Coverage   99.73%   99.73%           
=======================================
  Files           6        6           
  Lines         381      381           
  Branches       89       89           
=======================================
  Hits          380      380           
  Partials        1        1

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0ee4049...6b2dca7. Read the comment docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants