stickee / grumphp-tasks
Tasks for GrumPHP
Installs: 6 717
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 6
Open Issues: 4
Requires
- php: ^5.6 || ^7.0
- phpro/grumphp: ~0.11
Requires (Dev)
- friendsofphp/php-cs-fixer: ^1.11
- jakub-onderka/php-parallel-lint: ^0.9.2
- sensiolabs/security-checker: ^3.0
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