[x] Have you added an entry to the CHANGELOG.md file's [Unreleased] section?
Changes proposed in this Pull Request:
When it comes to path-based rules, VS Code and various extensions have a strong preference toward using glob patterns. Given that precedent, this pull request adds a new phpCodeSniffer.exclude option that accepts globs instead of regular expressions. In addition, the phpCodeSniffer.ignorePatterns option has been deprecated.
Closes #48.
How to test the changes in this Pull Request:
Open a file that has problems.
Set the phpCodeSniffer.exclude setting to one that would exclude the file.
With this pull request, the file should have no more problems because it isn't being linted.
Erase the phpCodeSniffer.exclude option and use a regular expression to exclude the file in phpCodeSniffer.ignorePatterns.
With this pull request, the file should have no problems because it isn't being linted.
All Submissions:
Changes proposed in this Pull Request:
When it comes to path-based rules, VS Code and various extensions have a strong preference toward using glob patterns. Given that precedent, this pull request adds a new
phpCodeSniffer.exclude
option that accepts globs instead of regular expressions. In addition, thephpCodeSniffer.ignorePatterns
option has been deprecated.Closes #48.
How to test the changes in this Pull Request:
phpCodeSniffer.exclude
setting to one that would exclude the file.phpCodeSniffer.exclude
option and use a regular expression to exclude the file inphpCodeSniffer.ignorePatterns
.