Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
<!-- When submitting a PR for a feature, add the appropriate prerelease heading here
and fill in the contents as you go. This simplifies later release management. -->

## 2.3.0

- Do not lint PHP within `build/` and `dist/` build directories

## 2.2.1

- Do not flag get_block_wrapper_attributes as an escaping risk, this is a false positive as function escapes internally #340
Expand Down
3 changes: 3 additions & 0 deletions HM/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

<exclude-pattern>node_modules/*</exclude-pattern>
<exclude-pattern>vendor/*</exclude-pattern>
<!-- Exempt common build directories from stylistic rules. -->
<exclude-pattern>build/*</exclude-pattern>
<exclude-pattern>dist/*</exclude-pattern>

<arg name="extensions" value="php" />

Expand Down