From f0d0ed2e76b9d59073afdfc97e4866d999a00838 Mon Sep 17 00:00:00 2001
From: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
Date: Fri, 16 Oct 2020 07:41:23 +0800
Subject: [PATCH] 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.
---
plugins/woocommerce-admin/phpcs.xml.dist | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/plugins/woocommerce-admin/phpcs.xml.dist b/plugins/woocommerce-admin/phpcs.xml.dist
index 82547f3fe5c..6da06aa5a4b 100644
--- a/plugins/woocommerce-admin/phpcs.xml.dist
+++ b/plugins/woocommerce-admin/phpcs.xml.dist
@@ -52,4 +52,9 @@
src/
tests/
+
+
+ src/
+ tests/
+