diff --git a/CHANGELOG.md b/CHANGELOG.md index 146580f..05d2d83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 2.19 +### Added +- Option to add/edit whitelist or ignore patterns to yamllint. + ## 2.18 ### Added - Grumphp will run the git hook in DDev (if available) diff --git a/config/default/grumphp.yml b/config/default/grumphp.yml index 976b31e..70d3f49 100644 --- a/config/default/grumphp.yml +++ b/config/default/grumphp.yml @@ -18,6 +18,8 @@ parameters: - /^pdepend.xml$/ yamllint.parse_constant: true + yamllint.whitelist_patterns: [] + yamllint.ignore_patterns: [] phpcs.standard: ./phpcs.xml phpcs.triggered_by: [php,phtml] @@ -99,6 +101,8 @@ grumphp: yamllint: parse_constant: '%yamllint.parse_constant%' + whitelist_patterns: '%yamllint.whitelist_patterns%' + ignore_patterns: '%yamllint.ignore_patterns%' phpcs: standard: '%phpcs.standard%'