Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.
/ grumphp-tasks Public archive

Tasks that add additional functionality to phpro/grumphp

License

Notifications You must be signed in to change notification settings

Mezzle/grumphp-tasks

Repository files navigation

GrumPHP Tasks

All Contributors

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: Mez\GrumPHP\ESLint
    arguments:
      - '@config'
      - '@process_builder'
      - '@formatter.raw_process'
    tags:
      - {name: grumphp.task, config: eslint}

Installation

composer require mez/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

Contributors

Thanks goes to these wonderful people (emoji key):

Martin Meredith
Martin Meredith

💻 👀 🤔 📖
Chris Ivens
Chris Ivens

💻 👀 🤔
Mario Steinitz
Mario Steinitz

💻
Simon Hartcher
Simon Hartcher

💻 🤔
Dan Lake
Dan Lake

💻
Sergey
Sergey

💻

This project follows the all-contributors specification. Contributions of any kind welcome!