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

Update dependency lint-staged to ^7.0.0 #715

Merged
merged 1 commit into from
Mar 10, 2018
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 21, 2018

This Pull Request updates dependency lint-staged from ^6.0.0 to ^7.0.0

Release Notes

v7.0.0

Bug Fixes
  • package: Bump dependencies (267ff0f)
Code Refactoring
  • Drop support for Node.js 4 (#​399) (05a062d)
Features
  • Remove support for npm scripts (#​390) (d8b836c)
Performance Improvements
  • Switch from minimatch to micromatch (#​388) (5a333a0)
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:


Commits

v7.0.0

  • 6ace14e ci: Whitelist the next branch
  • 5a333a0 perf: Switch from minimatch to micromatch (#​388)
  • d8b836c feat: Remove support for npm scripts (#​390)
  • 05a062d refactor: Drop support for Node.js 4 (#​399)
  • 267ff0f fix(package): Bump dependencies

This PR has been generated by Renovate Bot.

@renovate renovate bot force-pushed the renovate/lint-staged-7.x branch from df494fb to e95abfa Compare March 10, 2018 15:29
Copy link
Member

@edmorley edmorley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is safe since:

  • it's a Neutrino devDependency
  • we don't use the dropped node 4 support
  • we don't rely on the minimatch features that aren't supported by micromatch, or the implicit npm run script syntax

@edmorley edmorley merged commit 6f8c5ab into master Mar 10, 2018
@edmorley edmorley deleted the renovate/lint-staged-7.x branch March 10, 2018 16:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

2 participants