Add exclusion rule to PHPCS config for TODO comments (https://github.com/woocommerce/woocommerce-admin/pull/5388)

TODO comments are an established practice in this repo, with ~100 occurrences. This removes the warning in our PHP linter about it. This warning was blocking some Git commits being made due to the linting in the pre-commit hook.
This commit is contained in:
Adrian Duffell 2020-10-16 07:41:23 +08:00 committed by GitHub
parent 59e7681207
commit f0d0ed2e76
1 changed files with 5 additions and 0 deletions

View File

@ -52,4 +52,9 @@
<exclude-pattern>src/</exclude-pattern>
<exclude-pattern>tests/</exclude-pattern>
</rule>
<rule ref="Generic.Commenting.Todo">
<exclude-pattern>src/</exclude-pattern>
<exclude-pattern>tests/</exclude-pattern>
</rule>
</ruleset>