stickee/grumphp-tasks

This package is abandoned and no longer maintained. No replacement package was suggested.

Tasks for GrumPHP

v1.1.2 2019-08-07 09:11 UTC

This package is not auto-updated.

Last update: 2022-09-17 01:49:21 UTC


README

Requires NPM packages too!

Example package.json

{
  "dependencies": {
    "eslint": "^4.1.1",
    "eslint-config-standard": "^10.2.1",
    "eslint-plugin-promise": "^3.5.0",
    "eslint-plugin-standard": "^3.0.1"
  }
}

Example grumphp.yml

parameters:
  git_dir: .
  bin_dir: vendor/bin
  tasks:
    eslint: ~
services:
  task.eslint:
    class: Stickee\GrumPHP\ESLint
    arguments:
      - '@config'
      - '@process_builder'
      - '@formatter.raw_process'
    tags:
      - {name: grumphp.task, config: eslint}

Installation

composer require stickee/grumphp-tasks

and then either

yarn add eslint eslint-config-standard eslint-plugin-promise eslint-plugin-standard

or

npm install --save eslint eslint-config-standard eslint-plugin-promise eslint-plugin-standard