Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More β†’
Socket
Book a DemoInstallSign in
Socket

@start/plugin-find-git-staged

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@start/plugin-find-git-staged

πŸ” Find Git staged files and filter them using glob patterns

latest
Source
npmnpm
Version
2.0.1
Version published
Maintainers
4
Created
Source

πŸ” plugin-find-git-staged

Find Git staged files and filter them using glob patterns.

Install

$ yarn add --dev @start/plugin-find-git-staged

Usage

Signature

findGitStaged(glob: string | string[])

glob

minimatch patterns

Example

import sequence from '@start/plugin-sequence'
import findGitStaged from '@start/plugin-find-git-staged'
import eslint from '@start/plugin-lib-eslint'

export const task = () =>
  sequence(
    findGitStaged('src/**/*.js'),
    eslint()
  )

Keywords

tasks

FAQs

Package last updated on 25 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts