github lint-staged/lint-staged v7.0.0

latest releases: v15.2.2, v15.2.1, v15.2.0...
6 years ago

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:

Don't miss a new lint-staged release

NewReleases is sending notifications on new releases.