Skip to content

Commit dda4678

Browse files
authored
Merge pull request #28 from YouweGit/feature/ignore-patterns-yamllint
Added ignore/whitelist patterns for yamllint.
2 parents afbea2f + 6180205 commit dda4678

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 2.19
8+
### Added
9+
- Option to add/edit whitelist or ignore patterns to yamllint.
10+
711
## 2.18
812
### Added
913
- Grumphp will run the git hook in DDev (if available)

config/default/grumphp.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ parameters:
1818
- /^pdepend.xml$/
1919

2020
yamllint.parse_constant: true
21+
yamllint.whitelist_patterns: []
22+
yamllint.ignore_patterns: []
2123

2224
phpcs.standard: ./phpcs.xml
2325
phpcs.triggered_by: [php,phtml]
@@ -99,6 +101,8 @@ grumphp:
99101

100102
yamllint:
101103
parse_constant: '%yamllint.parse_constant%'
104+
whitelist_patterns: '%yamllint.whitelist_patterns%'
105+
ignore_patterns: '%yamllint.ignore_patterns%'
102106

103107
phpcs:
104108
standard: '%phpcs.standard%'

0 commit comments

Comments
 (0)