Skip to content
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

Update lint-staged in / from 6.1.1 to 7.0.0 #62

Merged
merged 1 commit into from
Feb 21, 2018

Conversation

dependencies[bot]
Copy link

@dependencies dependencies bot commented Feb 21, 2018

Dependencies.io has updated lint-staged (a npm dependency in /) from "6.1.1" to "7.0.0".

7.0.0

7.0.0 (2018-02-21)

Bug Fixes

  • package: Bump dependencies (267ff0f)

Code Refactoring

Features

Performance Improvements

BREAKING CHANGES

  • Requires Node.js v6 or later.

  • Remove implicit support for running npm scripts.

    Consider example lint-staged config:

    {
      "name": "My project",
      "version": "0.1.0",
      "scripts": {
        "my-custom-script": "linter --arg1 --arg2",
        "precommit": "lint-staged"
      },
      "lint-staged": {
        "*.js": ["my-custom-script", "git add"]
      }
    }

    The list of commands should be changed to the following:

      "*.js": ["npm run my-custom-script --", "git add"]
    
  • The following minimatch options are not supported in micromatch:

@Leonya Leonya merged commit 0302384 into master Feb 21, 2018
@Leonya Leonya deleted the lint-staged-7.0.0-89.0.1 branch February 21, 2018 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants