@start/plugin-find-git-staged
TypeScript icon, indicating that this package has built-in type declarations

2.0.1Β β€’Β PublicΒ β€’Β Published

πŸ” 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()
  )

Package Sidebar

Install

npm i @start/plugin-find-git-staged

Weekly Downloads

2

Version

2.0.1

License

MIT

Unpacked Size

3.9 kB

Total Files

5

Last publish

Collaborators

  • fosimus
  • psxcode
  • deepsweet