composer req b-connect/grumphp-config --dev
Add following to your composer.json
"extra": {
"grumphp": {
"config-default-path": "vendor/b-connect/grumphp-config/grumphp.yml"
}
}
/^(docroot|web)\/modules\/custom\/(.*)/
/^(docroot|web)\/themes\/custom\/(.*)/
/^(docroot|web)\/themes\/patternlab\/(.*)/
'/^(?!docroot\/modules\/custom).*/'
'/^(?!web\/modules\/custom).*/'
No empty messages allowed.
Suffix must be in commit messaged.
Allowed suffixes (Type scope conventions)
- build
- ci
- chore
- docs
- feat
- fix
- new
- upd
- perf
- refactor
- revert
- style
- test
- chg
Ignore all contrib code.
'/^(?!docroot\/modules\/custom).*/'
'/^(?!web\/modules\/custom).*/'
Check all yamls.
/^(docroot|web)\/modules\/custom\/(.*)/
/^(docroot|web)\/themes\/custom\/(.*)/
Following code is not allowed
- "die("
- "dsm("
- "print_r("
- "var_dump("
- "exit;"
/^(docroot|web)\/modules\/custom\/(.*)/
/^(docroot|web)\/themes\/custom\/(.*)/
Check for Drupal and DrupalPractice.
config/
docroot/libraries/
docroot/themes/custom/*/components
web/libraries/
web/themes/custom/*/components
/^(docroot|web)\/modules\/custom\/(.*)/
/^(docroot|web)\/themes\/custom\/(.*)/