New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add better support for partially staged files #62

Closed
sedubois opened this Issue Oct 6, 2016 · 146 comments

Comments

Projects
@sedubois

sedubois commented Oct 6, 2016

@okonet

This comment has been minimized.

Owner

okonet commented Oct 6, 2016

Partial staging bugging me a lot but I don't know how to solve this. If you know how to solve that issue, you're welcome to re-open the issue and file a PR. Otherwise I'll close the issue as won't fix.

@sedubois

This comment has been minimized.

sedubois commented Oct 6, 2016

Sure 😊 I'm not familiar with the mechanism, so I don't have a solution to propose right now.

@sedubois

This comment has been minimized.

sedubois commented Oct 6, 2016

Why not simply temporarily doing git stash -k?

@okonet

This comment has been minimized.

Owner

okonet commented Oct 6, 2016

Can you elaborate on ↑ since I'm not familiar with how it works.

This sounds interesting and is worth trying. Thanks for pointing it out.

@okonet okonet changed the title from Lint-staged uses changes outside of the index when file is partially staged to Add better support for partially staged files Oct 6, 2016

okonet added a commit that referenced this issue Oct 7, 2016

@okonet okonet referenced this issue Oct 7, 2016

Merged

v3.1 #69

okonet added a commit that referenced this issue Oct 20, 2016

@okonet

This comment has been minimized.

Owner

okonet commented Dec 2, 2016

@sedubois I'm a bit stuck with #75. Do you have ideas how to solve it probably?

@sedubois

This comment has been minimized.

sedubois commented Dec 2, 2016

Hmm. Maybe first concentrate on the simple case when linter doesn't modify the working copy, and address the case of eslint --fix separately?

Also you proposed in PR to git stash pop after the commit, but conflicts would also happen in that case, no? Sounds like the conflict is unavoidable and the user should then be given the opportunity to resolve it?

@okonet

This comment has been minimized.

Owner

okonet commented Dec 2, 2016

Also you proposed in PR to git stash pop after the commit, but conflicts would also happen in that case, no?

I don't think it will. The conflict will only happen if the actual content has diverged from stashed one. Otherwise, it will successfully merge them. So this use case can be solved with the post-command.

address the case of eslint --fix separately

I really don't want to loose this feature. So if there is a way of not losing it, I'd take this effort. So for now this is the only issue that prevents me from releasing it (besides of some code that needs to be written and the cleanup).

@okonet

This comment has been minimized.

Owner

okonet commented Feb 19, 2017

For now, the second case doesn't seem to be solvable without a user interaction which sucks :(

If someone has a better solution for that, any ideas are appreciated!

See #73 for some more context.

@sedubois

This comment has been minimized.

sedubois commented Feb 19, 2017

Well, if you stash then allow linters to perform changes, conflicts might happen. Either don't stash, or disable the linter --fix option. Maybe you can let the user choose what they prefer.

Personally I would just disable the --fix option, so that I can use stash -k. Otherwise, lint-staged's behavior is simply incorrect (it lints code which isn't meant to be committed).

@okonet

This comment has been minimized.

Owner

okonet commented Feb 20, 2017

These aren't solutions but workaround of the problem :(

To add git stash you don't need to change anything in the library itself. You can just add those to the config:

{
  "*.js": ["git stash -k", "eslint", "git stash pop"]
}
@sedubois

This comment has been minimized.

sedubois commented Feb 20, 2017

Oh that's nice, I'll give that a try. Should it be documented?

But how is that a problem? Isn't it normal to ask for user input, if a merge conflict occurs?

@okonet

This comment has been minimized.

Owner

okonet commented Feb 20, 2017

Well, technically, yes :) But in this case, I don't think so since the changes are coming from eslint and this will result in annoying user prompts.

BTW: I agree this should be backed into the library but the --fix case is just too important to me.

@sedubois

This comment has been minimized.

sedubois commented Feb 21, 2017

Actually, didn't manage to get this working:

 ❯ Running tasks for *.js
   →    or: git stash clear
   ✖ git stash -k
     →    or: git stash clear
     eslint
     git stash pop

🚫  git stash -k found some errors. Please fix them and try committing again.

usage: git stash list [<options>]
   or: git stash show [<stash>]
   or: git stash drop [-q|--quiet] [<stash>]
   or: git stash ( pop | apply ) [--index] [-q|--quiet] [<stash>]
   or: git stash branch <branchname> [<stash>]
   or: git stash [save [--patch] [-k|--[no-]keep-index] [-q|--quiet]
                       [-u|--include-untracked] [-a|--all] [<message>]]
   or: git stash clear



pre-commit: 
pre-commit: We've failed to pass the specified git pre-commit hooks as the `lint-staged`
pre-commit: hook returned an exit code (1). If you're feeling adventurous you can
pre-commit: skip the git pre-commit hooks by adding the following flags to your commit:
pre-commit: 
pre-commit:   git commit -n (or --no-verify)
pre-commit: 
pre-commit: This is ill-advised since the commit is broken.
pre-commit: 
@okonet

This comment has been minimized.

Owner

okonet commented Feb 21, 2017

Hmm, it's probably since I'm always passing paths to the command 🤔

@kmiyashiro

This comment has been minimized.

kmiyashiro commented Mar 8, 2017

The readme mentions that as of 3.1, lint-staged stashes un-staged changes. This is apparently not the case?

@okonet

This comment has been minimized.

Owner

okonet commented Mar 9, 2017

@kmiyashiro yes, it seems it slipped into the Readme. I'll remove it.

@okonet okonet referenced this issue Mar 15, 2017

Merged

Git workflow #75

4 of 4 tasks complete
@leonaves

This comment has been minimized.

leonaves commented Mar 15, 2017

So, while I don't know what the approach would be for getting this working in lint-staged, I think conflicts are always going to be an issue, i managed to get this working using pre-commit and some git trickery, with a lot owed to this answer on stack overflow.

My partial package.json:

  "lint-staged": {
    "*.js": [
      "eslint",
      "jest --bail --findRelatedTests"
    ],
    "*.scss": "stylelint --syntax scss",
    "*.css": "stylelint"
  },
  "scripts": {
    "lint-staged": "lint-staged || (yarn run pop-stash >> /dev/null && exit 1)",
    "stash-unstaged": "git stash save -k 'pre-linting-stash' >> /dev/null",
    "pop-stash": "git stash && git stash pop stash@{1} && git read-tree stash && git stash drop",
  },
  "pre-commit": [
    "stash-unstaged",
    "lint-staged",
    "pop-stash"
  ],

This works by first stashing the unstaged hunks, as above, then running the lint-staged script, which will pop the stash if it fails, and return a non-zero exit code to ensure it fails the overall pre-commit hook. Lastly it uses the trick in the aforelinked stackoverflow answer to safely return the stashed changes.

Hope this helps someone!

@okonet

This comment has been minimized.

Owner

okonet commented Mar 15, 2017

@leonaves that's awesome and I'm gonna try it out. Did you see @75? This is pretty much the same what I was trying to implement but I could not come up with the right command to stash pop.

Also, how does this work in case of aborted commit?

Does it also works with updating the code (eslint --fix)?

@leonaves

This comment has been minimized.

leonaves commented Mar 16, 2017

@okonet Ah cool, yeah that stack overflow answer really helped me, it's a clever sequence of git commands, I don't think I would got there myself in the end.

With regards to the fix flag, I've been playing with it this morning, and it's actually a really tough problem, that I'm not sure will be possible cleanly or without some user interaction.

Say I have the following code:

export default function() {
  return "My hello world module";
}

I stage this and then add the following line:

export default function() {
  console.log("I don't want this committed just yet");
  return "My hello world module";
}

If I run the steps from my previous comment with eslint --fix and git add . as well, what happens is this:

  • The unstaged hunk is stashed, leaving us with this again:
export default function() {
  return "My hello world module";
}
  • eslint --fix automaticaly fixes the double string issue, leaving us with this:
export default function() {
  return 'My hello world module';
}
  • git add . then stages that change as well, so that the above fixed file in its entirety is in the index.
  • We stash the current index, leaving our working tree clean.
  • We apply the previously unstaged changes from the stash stack, giving us this unstaged:
export default function() {
  console.log("I don't want this committed just yet");
  return "My hello world module";
}
  • We read from the top of the stash into the index, giving us this in the index:
export default function() {
  return 'My hello world module';
}
  • That will be committed, which is correct, however once it's committed, we will have a dirty working tree with the following:
export default function() {
  console.log("I don't want this committed just yet");
  return "My hello world module"; // This fix has been undone.
}

I don't think the end result is achievable, without also applying a linting fix to the console.log line, which to be honest, would probably be acceptable to pretty much everyone, as long as that line is not added to the index. But you would have to do some inefficient hoop jumping to do so:

  • Before stashing anything, apply eslint --fix and swallow the exit code (we don't want this aborting the commit if it fails as unstaged hunks might have unfixable linting errors that aren't the problem of the current commit).
  • Stash the unstaged changes (this would stash all the fixes just applied to the working tree).
  • Run eslint --fix again, this time not swallowing the exit code (unfixable errors in the index should abort the commit).
  • Stash the entire working tree + index.
  • Apply the first stash onto the working tree with git stash apply @{1}.
  • Read the second stash into the index with git read-tree stash.
  • Drop the last stash on the stash stack.

Now your working tree should contain all of the same fixes as your index, as we applied eslint --fix before stashing the first time, and it will also have some fixes of it's own, albeit unstaged. These can then be either checked out or applied to the next commit. The main downside I see to this is that we are running eslint twice, but so far I can't see another way to do it, again, unless you apply the stashes to the working tree and have the user deal with conflicts.

Anyway, sorry this turned out so long, but hope it helps.

@AndersDJohnson

This comment has been minimized.

AndersDJohnson commented Mar 19, 2017

Also consider adding the the -u flag to git stash save -k so we also stash any untracked files such that they don't cause any lint failures unrelated to the staged files. Refer to: https://git-scm.com/docs/git-stash#git-stash-save-p--patch-k--no-keep-index-u--include-untracked-a--all-q--quietltmessagegt.

@okonet

This comment has been minimized.

Owner

okonet commented Mar 19, 2017

How would they if we only lint staged files?

@AndersDJohnson

This comment has been minimized.

AndersDJohnson commented Mar 20, 2017

@okonet True, in most cases untracked files wouldn't be picked up, unless the scripts being run don't support accepting a list of files as arguments, instead running on the entire directory anyway.

@trusktr

This comment has been minimized.

trusktr commented Sep 10, 2018

Alright, I'll continue there.

@hallettj

This comment has been minimized.

hallettj commented Sep 10, 2018

I think that this is a cleaner command for getting a list of partially staged files:

git diff-index --cached --diff-filter=AM --no-renames HEAD

--cached means show staged files
--diff-filter=AM shows only added (previously uncommitted) or modified files, which spares you from dealing with tricky cases like unmerged files
--no-renames disables rename detection; in combination with the diff-filter this means that if a file has been renamed it will only appear in the list with its new name

Edit: I don't mean to be overly pushy with my own lint-runner implementation, but feel free to reference git-format-staged while working on this issue.

@DAreRodz

This comment has been minimized.

DAreRodz commented Sep 11, 2018

Hi, I just tried the beta version with staged hunks and it's working fine. Great work @okonet 😁

@sharifmacky

This comment has been minimized.

sharifmacky commented Sep 12, 2018

Hi, I tried the beta version with staged hunks. It correctly only linted the hunk but then allowed the file to commit despite linting errors

@okonet

This comment has been minimized.

Owner

okonet commented Sep 12, 2018

Yes that’s a known issue already

@rich4756

This comment has been minimized.

rich4756 commented Oct 15, 2018

Any update on this? ETA for next non-beta release with these changes included? Thank you very much!

@rich4756

This comment has been minimized.

rich4756 commented Oct 15, 2018

@hallettj The command git diff-index --cached --diff-filter=AM --no-renames HEAD is returning for me all staged files, not just partially staged files.

1j01 added a commit to 1j01/mopaint that referenced this issue Oct 16, 2018

Switch from lint-staged to pretty-quick
pretty-quick handles the case of partially staged files much better, aborting and letting you know what's going on, leaving the code formatted so you can fix the selection of changes and continue, whereas with lint-staged (and using a git GUI client (GitHub Desktop)), there was no indication that it wasn't handling the case, other than the resulting repository state. See okonet/lint-staged#62

@okonet okonet self-assigned this Oct 25, 2018

@okonet okonet closed this in #75 Oct 29, 2018

Roadmap automation moved this from Features to Done Oct 29, 2018

okonet added a commit that referenced this issue Oct 29, 2018

feat: Add support for partially staged files (#75)
Introduces support for partially staged files with the following algorithm:

1. Before running linters, check if there are partially stated files (i.e. both with changes in commit index and the working copy)
2. Stash and remove from the working copy all files that aren't in the commit index
3. Execute commands (linters and formatters) on these files
4. Add formatters changes to index (separate task in the config)
5. Restore the stashed working copy state if all linters exit with zero code (i.e. success). If there are errors running linters, restore stashed working copy.
6. Compare new commit index and working copy and apply as many formatting changes to working copy as possible. If there are conflicting hunks, drop formatter's changes. User modifications that were stashed should always take precedence over formatters.

Closes #62 

BREAKING CHANGE

Node >= 8.6 is required

okonet added a commit that referenced this issue Oct 29, 2018

feat: Add support for partially staged files (#75)
Introduces support for partially staged files with the following algorithm:

1. Before running linters, check if there are partially stated files (i.e. both with changes in commit index and the working copy)
2. Stash and remove from the working copy all files that aren't in the commit index
3. Execute commands (linters and formatters) on these files
4. Add formatters changes to index (separate task in the config)
5. Restore the stashed working copy state if all linters exit with zero code (i.e. success). If there are errors running linters, restore stashed working copy.
6. Compare new commit index and working copy and apply as many formatting changes to working copy as possible. If there are conflicting hunks, drop formatter's changes. User modifications that were stashed should always take precedence over formatters.

Closes #62

BREAKING CHANGE: Node >= 8.6 is required
@julienw

This comment has been minimized.

julienw commented Oct 29, 2018

🎉

@lcottereau

This comment has been minimized.

lcottereau commented Oct 29, 2018

thanks ! well done !

simonkberg added a commit to simonkberg/shebang that referenced this issue Oct 29, 2018

chore(deps): update dependency lint-staged to v8 (#141)
This PR contains the following updates:

| Package | Type | Update | Change | References |
|---|---|---|---|---|
| lint-staged | devDependencies | major | `7.3.0` -> `8.0.0` | [source](https://renovatebot.com/gh/okonet/lint-staged) |

---

### Release Notes

<details>
<summary>okonet/lint-staged</summary>

### [`v8.0.0`](https://renovatebot.com/gh/okonet/lint-staged/releases/v8.0.0)

[Compare Source](https://renovatebot.com/gh/okonet/lint-staged/compare/v7.3.0...v8.0.0)

### [8.0.0](http://git+https/github.com/okonet/lint-staged/compare/v7.3.0...v8.0.0) (2018-10-29)

##### Features

-   Add support for partially staged files ([#&#8203;75](http://git+https/github.com/okonet/lint-staged/issues/75)) ([f82443c](http://git+https/github.com/okonet/lint-staged/commit/f82443c)), closes [#&#8203;62](http://git+https/github.com/okonet/lint-staged/issues/62)

##### BREAKING CHANGES

-   Node >= 8.6 is required

</details>

---

### Renovate configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻️ **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`".

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

---

This PR has been generated by [Renovate Bot](https://renovatebot.com/gh/marketplace/renovate). View repository job log [here](https://renovatebot.com/dashboard#simonkberg/shebang).

simonkberg added a commit to simonkberg/simon-kjellberg that referenced this issue Oct 29, 2018

chore(deps): update dependency lint-staged to v8 (#184)
This PR contains the following updates:

| Package | Type | Update | Change | References |
|---|---|---|---|---|
| lint-staged | devDependencies | major | `7.3.0` -> `8.0.0` | [source](https://renovatebot.com/gh/okonet/lint-staged) |

---

### Release Notes

<details>
<summary>okonet/lint-staged</summary>

### [`v8.0.0`](https://renovatebot.com/gh/okonet/lint-staged/releases/v8.0.0)

[Compare Source](https://renovatebot.com/gh/okonet/lint-staged/compare/v7.3.0...v8.0.0)

### [8.0.0](http://git+https/github.com/okonet/lint-staged/compare/v7.3.0...v8.0.0) (2018-10-29)

##### Features

-   Add support for partially staged files ([#&#8203;75](http://git+https/github.com/okonet/lint-staged/issues/75)) ([f82443c](http://git+https/github.com/okonet/lint-staged/commit/f82443c)), closes [#&#8203;62](http://git+https/github.com/okonet/lint-staged/issues/62)

##### BREAKING CHANGES

-   Node >= 8.6 is required

</details>

---

### Renovate configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻️ **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`".

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

---

This PR has been generated by [Renovate Bot](https://renovatebot.com/gh/marketplace/renovate). View repository job log [here](https://renovatebot.com/dashboard#simonkberg/simon-kjellberg).

kornicameister added a commit to kornicameister/korni that referenced this issue Oct 29, 2018

Update lint-staged in package.json from 7.2.2 to 8.0.0 (#600)
## Overview

The following dependencies have been updated by [dependencies.io](https://www.dependencies.io/):

- `lint-staged` in `package.json` from "7.2.2" to "8.0.0"

## Details

### `lint-staged`

This dependency is located in `package.json` and was updated from "7.2.2" to "8.0.0".

<details>
<summary>7.3.0</summary>

# [7.3.0](okonet/lint-staged@v7.2.2...v7.3.0) (2018-09-20)


### Features

* Allow linting files outside of project folder ([#495](https://www.dependencies.io/github-redirect/okonet/lint-staged/issues/495)) ([d386c80](okonet/lint-staged@d386c80))

</details>

<details>
<summary>8.0.0</summary>

# [8.0.0](http://git+https/github.com/okonet/lint-staged/compare/v7.3.0...v8.0.0) (2018-10-29)


### Features

* Add support for partially staged files ([#75](http://git+https/github.com/okonet/lint-staged/issues/75)) ([f82443c](http://git+https/github.com/okonet/lint-staged/commit/f82443c)), closes [#62](http://git+https/github.com/okonet/lint-staged/issues/62)


### BREAKING CHANGES

* Node >= 8.6 is required

</details>

timbru31 added a commit to timbru31/quickjira that referenced this issue Oct 30, 2018

build(deps-dev): bump lint-staged from 7.3.0 to 8.0.3 (#42)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 7.3.0 to 8.0.3.
<details>
<summary>Release notes</summary>

*Sourced from [lint-staged's releases](https://github.com/okonet/lint-staged/releases).*

> ## v8.0.3
> ## [8.0.3](http://git+https/github.com/okonet/lint-staged/compare/v8.0.2...v8.0.3) (2018-10-30)
> 
> 
> ### Bug Fixes
> 
> * Allow to use lint-staged on CI ([#523](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/523)) ([225a904](http://git+https/github.com/okonet/lint-staged/commit/225a904))
> 
> ## v8.0.2
> ## [8.0.2](http://git+https/github.com/okonet/lint-staged/compare/v8.0.1...v8.0.2) (2018-10-29)
> 
> 
> ### Bug Fixes
> 
> * **git:** Use resolveGitDir in hasPartiallyStagedFiles ([#520](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/520)) ([af99172](http://git+https/github.com/okonet/lint-staged/commit/af99172)), closes [#514](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/514)
> 
> ## v8.0.1
> ## [8.0.1](http://git+https/github.com/okonet/lint-staged/compare/v8.0.0...v8.0.1) (2018-10-29)
> 
> 
> ### Bug Fixes
> 
> * **git:** Use resolveGitDir to resolve to .git for git commands ([#518](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/518)) ([da42f8a](http://git+https/github.com/okonet/lint-staged/commit/da42f8a)), closes [#514](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/514)
> 
> ## v8.0.0
> # [8.0.0](http://git+https/github.com/okonet/lint-staged/compare/v7.3.0...v8.0.0) (2018-10-29)
> 
> 
> ### Features
> 
> * Add support for partially staged files ([#75](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/75)) ([f82443c](http://git+https/github.com/okonet/lint-staged/commit/f82443c)), closes [#62](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/62)
> 
> 
> ### BREAKING CHANGES
> 
> * Node >= 8.6 is required
> 
> ## v7.4.0
> # [7.4.0](http://git+https/github.com/okonet/lint-staged/compare/v7.3.0...v7.4.0) (2018-10-29)
> 
> 
> ### Features
> 
> * Add support for partially staged files ([#75](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/75)) ([9e0aa6f](http://git+https/github.com/okonet/lint-staged/commit/9e0aa6f)), closes [#62](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/62)
</details>
<details>
<summary>Commits</summary>

- [`225a904`](okonet/lint-staged@225a904) fix: Allow to use lint-staged on CI ([#523](https://github-redirect.dependabot.com/okonet/lint-staged/issues/523))
- [`af99172`](okonet/lint-staged@af99172) fix(git): Use resolveGitDir in hasPartiallyStagedFiles ([#520](https://github-redirect.dependabot.com/okonet/lint-staged/issues/520))
- [`da42f8a`](okonet/lint-staged@da42f8a) fix(git): Use resolveGitDir to resolve to .git for git commands ([#518](https://github-redirect.dependabot.com/okonet/lint-staged/issues/518))
- [`592486f`](okonet/lint-staged@592486f) docs: Update readme to include info about partially staged files support
- [`f82443c`](okonet/lint-staged@f82443c) feat: Add support for partially staged files ([#75](https://github-redirect.dependabot.com/okonet/lint-staged/issues/75))
- [`e6a6ec6`](okonet/lint-staged@e6a6ec6) chore: upgrade to jest 23 ([#507](https://github-redirect.dependabot.com/okonet/lint-staged/issues/507))
- [`f05ada6`](okonet/lint-staged@f05ada6) docs: Add an example for type checking with flow ([#502](https://github-redirect.dependabot.com/okonet/lint-staged/issues/502))
- [`bcd0af4`](okonet/lint-staged@bcd0af4) docs: Add SurviveJS link
- [`d782fa1`](okonet/lint-staged@d782fa1) docs: Update documentation for husky 1.0 ([#496](https://github-redirect.dependabot.com/okonet/lint-staged/issues/496))
- See full diff in [compare view](okonet/lint-staged@v7.3.0...v8.0.3)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=lint-staged&package-manager=npm_and_yarn&previous-version=7.3.0&new-version=8.0.3)](https://dependabot.com/compatibility-score.html?dependency-name=lint-staged&package-manager=npm_and_yarn&previous-version=7.3.0&new-version=8.0.3)

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 will **not** automatically merge this PR because it includes an out-of-range update to a development dependency.

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- 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)

Finally, you can contact us by mentioning @dependabot.

</details>

lipis added a commit to lipis/prettier-setup that referenced this issue Oct 31, 2018

Bump lint-staged from 7.3.0 to 8.0.3 (#97)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 7.3.0 to 8.0.3.
<details>
<summary>Release notes</summary>

*Sourced from [lint-staged's releases](https://github.com/okonet/lint-staged/releases).*

> ## v8.0.3
> ## [8.0.3](http://git+https/github.com/okonet/lint-staged/compare/v8.0.2...v8.0.3) (2018-10-30)
> 
> 
> ### Bug Fixes
> 
> * Allow to use lint-staged on CI ([#523](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/523)) ([225a904](http://git+https/github.com/okonet/lint-staged/commit/225a904))
> 
> ## v8.0.2
> ## [8.0.2](http://git+https/github.com/okonet/lint-staged/compare/v8.0.1...v8.0.2) (2018-10-29)
> 
> 
> ### Bug Fixes
> 
> * **git:** Use resolveGitDir in hasPartiallyStagedFiles ([#520](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/520)) ([af99172](http://git+https/github.com/okonet/lint-staged/commit/af99172)), closes [#514](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/514)
> 
> ## v8.0.1
> ## [8.0.1](http://git+https/github.com/okonet/lint-staged/compare/v8.0.0...v8.0.1) (2018-10-29)
> 
> 
> ### Bug Fixes
> 
> * **git:** Use resolveGitDir to resolve to .git for git commands ([#518](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/518)) ([da42f8a](http://git+https/github.com/okonet/lint-staged/commit/da42f8a)), closes [#514](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/514)
> 
> ## v8.0.0
> # [8.0.0](http://git+https/github.com/okonet/lint-staged/compare/v7.3.0...v8.0.0) (2018-10-29)
> 
> 
> ### Features
> 
> * Add support for partially staged files ([#75](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/75)) ([f82443c](http://git+https/github.com/okonet/lint-staged/commit/f82443c)), closes [#62](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/62)
> 
> 
> ### BREAKING CHANGES
> 
> * Node >= 8.6 is required
> 
> ## v7.4.0
> # [7.4.0](http://git+https/github.com/okonet/lint-staged/compare/v7.3.0...v7.4.0) (2018-10-29)
> 
> 
> ### Features
> 
> * Add support for partially staged files ([#75](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/75)) ([9e0aa6f](http://git+https/github.com/okonet/lint-staged/commit/9e0aa6f)), closes [#62](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/62)
</details>
<details>
<summary>Commits</summary>

- [`225a904`](okonet/lint-staged@225a904) fix: Allow to use lint-staged on CI ([#523](https://github-redirect.dependabot.com/okonet/lint-staged/issues/523))
- [`af99172`](okonet/lint-staged@af99172) fix(git): Use resolveGitDir in hasPartiallyStagedFiles ([#520](https://github-redirect.dependabot.com/okonet/lint-staged/issues/520))
- [`da42f8a`](okonet/lint-staged@da42f8a) fix(git): Use resolveGitDir to resolve to .git for git commands ([#518](https://github-redirect.dependabot.com/okonet/lint-staged/issues/518))
- [`592486f`](okonet/lint-staged@592486f) docs: Update readme to include info about partially staged files support
- [`f82443c`](okonet/lint-staged@f82443c) feat: Add support for partially staged files ([#75](https://github-redirect.dependabot.com/okonet/lint-staged/issues/75))
- [`e6a6ec6`](okonet/lint-staged@e6a6ec6) chore: upgrade to jest 23 ([#507](https://github-redirect.dependabot.com/okonet/lint-staged/issues/507))
- [`f05ada6`](okonet/lint-staged@f05ada6) docs: Add an example for type checking with flow ([#502](https://github-redirect.dependabot.com/okonet/lint-staged/issues/502))
- [`bcd0af4`](okonet/lint-staged@bcd0af4) docs: Add SurviveJS link
- [`d782fa1`](okonet/lint-staged@d782fa1) docs: Update documentation for husky 1.0 ([#496](https://github-redirect.dependabot.com/okonet/lint-staged/issues/496))
- See full diff in [compare view](okonet/lint-staged@v7.3.0...v8.0.3)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=lint-staged&package-manager=npm_and_yarn&previous-version=7.3.0&new-version=8.0.3)](https://dependabot.com/compatibility-score.html?dependency-name=lint-staged&package-manager=npm_and_yarn&previous-version=7.3.0&new-version=8.0.3)

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`.

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- 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)

Finally, you can contact us by mentioning @dependabot.

</details>

lipis added a commit to gae-init/gae-init-docs that referenced this issue Oct 31, 2018

Bump lint-staged from 7.2.0 to 8.0.4 (#267)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 7.2.0 to 8.0.4.
<details>
<summary>Release notes</summary>

*Sourced from [lint-staged's releases](https://github.com/okonet/lint-staged/releases).*

> ## v8.0.4
> ## [8.0.4](http://git+https/github.com/okonet/lint-staged/compare/v8.0.3...v8.0.4) (2018-10-31)
> 
> 
> ### Bug Fixes
> 
> * **package:** update staged-git-files to version 1.1.2 ([ce434d3](http://git+https/github.com/okonet/lint-staged/commit/ce434d3))
> 
> ## v8.0.3
> ## [8.0.3](http://git+https/github.com/okonet/lint-staged/compare/v8.0.2...v8.0.3) (2018-10-30)
> 
> 
> ### Bug Fixes
> 
> * Allow to use lint-staged on CI ([#523](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/523)) ([225a904](http://git+https/github.com/okonet/lint-staged/commit/225a904))
> 
> ## v8.0.2
> ## [8.0.2](http://git+https/github.com/okonet/lint-staged/compare/v8.0.1...v8.0.2) (2018-10-29)
> 
> 
> ### Bug Fixes
> 
> * **git:** Use resolveGitDir in hasPartiallyStagedFiles ([#520](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/520)) ([af99172](http://git+https/github.com/okonet/lint-staged/commit/af99172)), closes [#514](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/514)
> 
> ## v8.0.1
> ## [8.0.1](http://git+https/github.com/okonet/lint-staged/compare/v8.0.0...v8.0.1) (2018-10-29)
> 
> 
> ### Bug Fixes
> 
> * **git:** Use resolveGitDir to resolve to .git for git commands ([#518](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/518)) ([da42f8a](http://git+https/github.com/okonet/lint-staged/commit/da42f8a)), closes [#514](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/514)
> 
> ## v8.0.0
> # [8.0.0](http://git+https/github.com/okonet/lint-staged/compare/v7.3.0...v8.0.0) (2018-10-29)
> 
> 
> ### Features
> 
> * Add support for partially staged files ([#75](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/75)) ([f82443c](http://git+https/github.com/okonet/lint-staged/commit/f82443c)), closes [#62](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/62)
> 
> 
> ### BREAKING CHANGES
> 
> * Node >= 8.6 is required
> 
> ## v7.4.0
> # [7.4.0](http://git+https/github.com/okonet/lint-staged/compare/v7.3.0...v7.4.0) (2018-10-29)
> 
> 
> ### Features
></table> ... (truncated)
</details>
<details>
<summary>Commits</summary>

- [`5e165a3`](okonet/lint-staged@5e165a3) Merge pull request [#513](https://github-redirect.dependabot.com/okonet/lint-staged/issues/513) from okonet/greenkeeper/staged-git-files-1.1.2
- [`07fd087`](okonet/lint-staged@07fd087) Merge branch 'master' into greenkeeper/staged-git-files-1.1.2
- [`00047de`](okonet/lint-staged@00047de) docs: fix typo ([#527](https://github-redirect.dependabot.com/okonet/lint-staged/issues/527))
- [`bedba5a`](okonet/lint-staged@bedba5a) refactor: Use object spread ([#524](https://github-redirect.dependabot.com/okonet/lint-staged/issues/524))
- [`225a904`](okonet/lint-staged@225a904) fix: Allow to use lint-staged on CI ([#523](https://github-redirect.dependabot.com/okonet/lint-staged/issues/523))
- [`af99172`](okonet/lint-staged@af99172) fix(git): Use resolveGitDir in hasPartiallyStagedFiles ([#520](https://github-redirect.dependabot.com/okonet/lint-staged/issues/520))
- [`da42f8a`](okonet/lint-staged@da42f8a) fix(git): Use resolveGitDir to resolve to .git for git commands ([#518](https://github-redirect.dependabot.com/okonet/lint-staged/issues/518))
- [`c4e8a2d`](okonet/lint-staged@c4e8a2d) chore(package): update lockfile yarn.lock
- [`ce434d3`](okonet/lint-staged@ce434d3) fix(package): update staged-git-files to version 1.1.2
- [`592486f`](okonet/lint-staged@592486f) docs: Update readme to include info about partially staged files support
- Additional commits viewable in [compare view](okonet/lint-staged@v7.2.0...v8.0.4)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=lint-staged&package-manager=npm_and_yarn&previous-version=7.2.0&new-version=8.0.4)](https://dependabot.com/compatibility-score.html?dependency-name=lint-staged&package-manager=npm_and_yarn&previous-version=7.2.0&new-version=8.0.4)

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`.

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- 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)

Finally, you can contact us by mentioning @dependabot.

</details>

kaisermann added a commit to stone-payments/pos-mamba-app-template that referenced this issue Oct 31, 2018

Update lint-staged to the latest version 🚀 (#22)
## The devDependency [lint-staged](https://github.com/okonet/lint-staged) was updated from `7.3.0` to `8.0.0`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

---

<details>
<summary>Release Notes for v8.0.0</summary>

<h1><a href="http://git+https/github.com/okonet/lint-staged/compare/v7.3.0...v8.0.0" rel="nofollow">8.0.0</a> (2018-10-29)</h1>
<h3>Features</h3>
<ul>
<li>Add support for partially staged files (<a href="http://git+https/github.com/okonet/lint-staged/issues/75" rel="nofollow">#75</a>) (<a href="http://git+https/github.com/okonet/lint-staged/commit/f82443c" rel="nofollow">f82443c</a>), closes <a href="http://git+https/github.com/okonet/lint-staged/issues/62" rel="nofollow">#62</a></li>
</ul>
<h3>BREAKING CHANGES</h3>
<ul>
<li>Node &gt;= 8.6 is required</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 5 commits.</p>
<ul>
<li><a href="https://urls.greenkeeper.io/okonet/lint-staged/commit/f82443c7f7b147aae11e65a797b280ce375c8515"><code>f82443c</code></a> <code>feat: Add support for partially staged files (#75)</code></li>
<li><a href="https://urls.greenkeeper.io/okonet/lint-staged/commit/e6a6ec66af26a4fa505279fac937f076687777e7"><code>e6a6ec6</code></a> <code>chore: upgrade to jest 23 (#507)</code></li>
<li><a href="https://urls.greenkeeper.io/okonet/lint-staged/commit/f05ada6c8f5190999df1ac036fcc647dc9ca624e"><code>f05ada6</code></a> <code>docs: Add an example for type checking with flow (#502)</code></li>
<li><a href="https://urls.greenkeeper.io/okonet/lint-staged/commit/bcd0af4467a6da98ab4f115f5a0b987030e7c93c"><code>bcd0af4</code></a> <code>docs: Add SurviveJS link</code></li>
<li><a href="https://urls.greenkeeper.io/okonet/lint-staged/commit/d782fa199855ffac533b8dc8822e01d3fee4673a"><code>d782fa1</code></a> <code>docs: Update documentation for husky 1.0 (#496)</code></li>
</ul>
<p>See the <a href="https://urls.greenkeeper.io/okonet/lint-staged/compare/d386c802b42f8e374090b1f9c58e4b60531d30ff...f82443c7f7b147aae11e65a797b280ce375c8515">full diff</a></p>
</details>

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴

nfantone added a commit to nfantone/amqp-uri that referenced this issue Oct 31, 2018

Update lint-staged to the latest version 🚀 (#50)
## The devDependency [lint-staged](https://github.com/okonet/lint-staged) was updated from `7.3.0` to `8.0.0`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

---

<details>
<summary>Release Notes for v8.0.0</summary>

<h1><a href="http://git+https/github.com/okonet/lint-staged/compare/v7.3.0...v8.0.0" rel="nofollow">8.0.0</a> (2018-10-29)</h1>
<h3>Features</h3>
<ul>
<li>Add support for partially staged files (<a href="http://git+https/github.com/okonet/lint-staged/issues/75" rel="nofollow">#75</a>) (<a href="http://git+https/github.com/okonet/lint-staged/commit/f82443c" rel="nofollow">f82443c</a>), closes <a href="http://git+https/github.com/okonet/lint-staged/issues/62" rel="nofollow">#62</a></li>
</ul>
<h3>BREAKING CHANGES</h3>
<ul>
<li>Node &gt;= 8.6 is required</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 5 commits.</p>
<ul>
<li><a href="https://urls.greenkeeper.io/okonet/lint-staged/commit/f82443c7f7b147aae11e65a797b280ce375c8515"><code>f82443c</code></a> <code>feat: Add support for partially staged files (#75)</code></li>
<li><a href="https://urls.greenkeeper.io/okonet/lint-staged/commit/e6a6ec66af26a4fa505279fac937f076687777e7"><code>e6a6ec6</code></a> <code>chore: upgrade to jest 23 (#507)</code></li>
<li><a href="https://urls.greenkeeper.io/okonet/lint-staged/commit/f05ada6c8f5190999df1ac036fcc647dc9ca624e"><code>f05ada6</code></a> <code>docs: Add an example for type checking with flow (#502)</code></li>
<li><a href="https://urls.greenkeeper.io/okonet/lint-staged/commit/bcd0af4467a6da98ab4f115f5a0b987030e7c93c"><code>bcd0af4</code></a> <code>docs: Add SurviveJS link</code></li>
<li><a href="https://urls.greenkeeper.io/okonet/lint-staged/commit/d782fa199855ffac533b8dc8822e01d3fee4673a"><code>d782fa1</code></a> <code>docs: Update documentation for husky 1.0 (#496)</code></li>
</ul>
<p>See the <a href="https://urls.greenkeeper.io/okonet/lint-staged/compare/d386c802b42f8e374090b1f9c58e4b60531d30ff...f82443c7f7b147aae11e65a797b280ce375c8515">full diff</a></p>
</details>

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴

WilcoFiers added a commit to dequelabs/axe-webdriverjs that referenced this issue Nov 1, 2018

chore: Update lint-staged to the latest version 🚀 (#81)
## The devDependency [lint-staged](https://github.com/okonet/lint-staged) was updated from `7.3.0` to `8.0.0`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

---

<details>
<summary>Release Notes for v8.0.0</summary>

<h1><a href="http://git+https/github.com/okonet/lint-staged/compare/v7.3.0...v8.0.0" rel="nofollow">8.0.0</a> (2018-10-29)</h1>
<h3>Features</h3>
<ul>
<li>Add support for partially staged files (<a href="http://git+https/github.com/okonet/lint-staged/issues/75" rel="nofollow">#75</a>) (<a href="http://git+https/github.com/okonet/lint-staged/commit/f82443c" rel="nofollow">f82443c</a>), closes <a href="http://git+https/github.com/okonet/lint-staged/issues/62" rel="nofollow">#62</a></li>
</ul>
<h3>BREAKING CHANGES</h3>
<ul>
<li>Node &gt;= 8.6 is required</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 5 commits.</p>
<ul>
<li><a href="https://urls.greenkeeper.io/okonet/lint-staged/commit/f82443c7f7b147aae11e65a797b280ce375c8515"><code>f82443c</code></a> <code>feat: Add support for partially staged files (#75)</code></li>
<li><a href="https://urls.greenkeeper.io/okonet/lint-staged/commit/e6a6ec66af26a4fa505279fac937f076687777e7"><code>e6a6ec6</code></a> <code>chore: upgrade to jest 23 (#507)</code></li>
<li><a href="https://urls.greenkeeper.io/okonet/lint-staged/commit/f05ada6c8f5190999df1ac036fcc647dc9ca624e"><code>f05ada6</code></a> <code>docs: Add an example for type checking with flow (#502)</code></li>
<li><a href="https://urls.greenkeeper.io/okonet/lint-staged/commit/bcd0af4467a6da98ab4f115f5a0b987030e7c93c"><code>bcd0af4</code></a> <code>docs: Add SurviveJS link</code></li>
<li><a href="https://urls.greenkeeper.io/okonet/lint-staged/commit/d782fa199855ffac533b8dc8822e01d3fee4673a"><code>d782fa1</code></a> <code>docs: Update documentation for husky 1.0 (#496)</code></li>
</ul>
<p>See the <a href="https://urls.greenkeeper.io/okonet/lint-staged/compare/d386c802b42f8e374090b1f9c58e4b60531d30ff...f82443c7f7b147aae11e65a797b280ce375c8515">full diff</a></p>
</details>

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴

u3u added a commit to u3u/prettier-eslint-check that referenced this issue Nov 9, 2018

Bump lint-staged from 7.3.0 to 8.0.4 (#44)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 7.3.0 to 8.0.4.
<details>
<summary>Release notes</summary>

*Sourced from [lint-staged's releases](https://github.com/okonet/lint-staged/releases).*

> ## v8.0.4
> ## [8.0.4](http://git+https/github.com/okonet/lint-staged/compare/v8.0.3...v8.0.4) (2018-10-31)
> 
> 
> ### Bug Fixes
> 
> * **package:** update staged-git-files to version 1.1.2 ([ce434d3](http://git+https/github.com/okonet/lint-staged/commit/ce434d3))
> 
> ## v8.0.3
> ## [8.0.3](http://git+https/github.com/okonet/lint-staged/compare/v8.0.2...v8.0.3) (2018-10-30)
> 
> 
> ### Bug Fixes
> 
> * Allow to use lint-staged on CI ([#523](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/523)) ([225a904](http://git+https/github.com/okonet/lint-staged/commit/225a904))
> 
> ## v8.0.2
> ## [8.0.2](http://git+https/github.com/okonet/lint-staged/compare/v8.0.1...v8.0.2) (2018-10-29)
> 
> 
> ### Bug Fixes
> 
> * **git:** Use resolveGitDir in hasPartiallyStagedFiles ([#520](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/520)) ([af99172](http://git+https/github.com/okonet/lint-staged/commit/af99172)), closes [#514](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/514)
> 
> ## v8.0.1
> ## [8.0.1](http://git+https/github.com/okonet/lint-staged/compare/v8.0.0...v8.0.1) (2018-10-29)
> 
> 
> ### Bug Fixes
> 
> * **git:** Use resolveGitDir to resolve to .git for git commands ([#518](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/518)) ([da42f8a](http://git+https/github.com/okonet/lint-staged/commit/da42f8a)), closes [#514](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/514)
> 
> ## v8.0.0
> # [8.0.0](http://git+https/github.com/okonet/lint-staged/compare/v7.3.0...v8.0.0) (2018-10-29)
> 
> 
> ### Features
> 
> * Add support for partially staged files ([#75](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/75)) ([f82443c](http://git+https/github.com/okonet/lint-staged/commit/f82443c)), closes [#62](http://git+https/github-redirect.dependabot.com/okonet/lint-staged/issues/62)
> 
> 
> ### BREAKING CHANGES
> 
> * Node >= 8.6 is required
> 
> ## v7.4.0
> # [7.4.0](http://git+https/github.com/okonet/lint-staged/compare/v7.3.0...v7.4.0) (2018-10-29)
> 
> 
> ### Features
></table> ... (truncated)
</details>
<details>
<summary>Commits</summary>

- [`5e165a3`](okonet/lint-staged@5e165a3) Merge pull request [#513](https://github-redirect.dependabot.com/okonet/lint-staged/issues/513) from okonet/greenkeeper/staged-git-files-1.1.2
- [`07fd087`](okonet/lint-staged@07fd087) Merge branch 'master' into greenkeeper/staged-git-files-1.1.2
- [`00047de`](okonet/lint-staged@00047de) docs: fix typo ([#527](https://github-redirect.dependabot.com/okonet/lint-staged/issues/527))
- [`bedba5a`](okonet/lint-staged@bedba5a) refactor: Use object spread ([#524](https://github-redirect.dependabot.com/okonet/lint-staged/issues/524))
- [`225a904`](okonet/lint-staged@225a904) fix: Allow to use lint-staged on CI ([#523](https://github-redirect.dependabot.com/okonet/lint-staged/issues/523))
- [`af99172`](okonet/lint-staged@af99172) fix(git): Use resolveGitDir in hasPartiallyStagedFiles ([#520](https://github-redirect.dependabot.com/okonet/lint-staged/issues/520))
- [`da42f8a`](okonet/lint-staged@da42f8a) fix(git): Use resolveGitDir to resolve to .git for git commands ([#518](https://github-redirect.dependabot.com/okonet/lint-staged/issues/518))
- [`c4e8a2d`](okonet/lint-staged@c4e8a2d) chore(package): update lockfile yarn.lock
- [`ce434d3`](okonet/lint-staged@ce434d3) fix(package): update staged-git-files to version 1.1.2
- [`592486f`](okonet/lint-staged@592486f) docs: Update readme to include info about partially staged files support
- Additional commits viewable in [compare view](okonet/lint-staged@v7.3.0...v8.0.4)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=lint-staged&package-manager=npm_and_yarn&previous-version=7.3.0&new-version=8.0.4)](https://dependabot.com/compatibility-score.html?dependency-name=lint-staged&package-manager=npm_and_yarn&previous-version=7.3.0&new-version=8.0.4)

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`.

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- 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)

Finally, you can contact us by mentioning @dependabot.

</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment