diff --git a/CHANGELOG.md b/CHANGELOG.md index 9490a98..6582782 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ 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.2.1 +## Fixed +- Exclude pattern, the patterns did not include the dot of the extension allowing matching with the pathname (which for example in DDEV will match with `html` in `/var/www/html`) +## Changed +- Included more rules to exclude for (p)html and xml files. Indentation, line-length are very hard to fix consistently and prevents usage of component libraries (as for example with Hyvä) + ## 2.2.0 ## Changed - Apply more rules to .html and .phtml files. In previous updates (see pull requests [#5] and [#10]), we excluded these files very widely; this change makes the exclusion more specific and intentional. diff --git a/src/YouweMagento2/ruleset.xml b/src/YouweMagento2/ruleset.xml index 498872a..87893ee 100644 --- a/src/YouweMagento2/ruleset.xml +++ b/src/YouweMagento2/ruleset.xml @@ -60,17 +60,28 @@ which are in both standards. And XML files are excluded here too. --> - *.(x|p?ht)ml$ - *.(x|p?ht)ml$ - *.(x|p?ht)ml$ - *.(x|p?ht)ml$ - *.(x|p?ht)ml$ - *.(x|p?ht)ml$ - *.(x|p?ht)ml$ - *.(x|p?ht)ml$ - *.(x|p?ht)ml$ - *.(x|p?ht)ml$ - *.(x|p?ht)ml$ - *.(x|p?ht)ml$ - *.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$ + \.(x|p?ht)ml$