Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

lint-staged versions available: 7.0.0 #247

Closed
dependencies bot opened this issue Feb 21, 2018 · 0 comments
Closed

lint-staged versions available: 7.0.0 #247

dependencies bot opened this issue Feb 21, 2018 · 0 comments

Comments

@dependencies
Copy link
Contributor

dependencies bot commented Feb 21, 2018

There are new versions of lint-staged available from npm.

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:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant