diff options
Diffstat (limited to 'plugins/jetpack/bin/phpcs-whitelist.js')
-rw-r--r-- | plugins/jetpack/bin/phpcs-whitelist.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/jetpack/bin/phpcs-whitelist.js b/plugins/jetpack/bin/phpcs-whitelist.js new file mode 100644 index 00000000..81e779bc --- /dev/null +++ b/plugins/jetpack/bin/phpcs-whitelist.js @@ -0,0 +1,22 @@ +// If the file path starts with anything like in the array below, it should be linted. +module.exports = [ + '3rd-party/3rd-party.php', + '3rd-party/class.jetpack-amp-support.php', + 'class.jetpack-gutenberg.php', + 'class.jetpack-plan.php', + 'extensions/', + 'functions.global.php', + 'functions.opengraph.php', + '_inc/lib/debugger/', + '_inc/lib/core-api/wpcom-endpoints/memberships.php', + '_inc/lib/class.jetpack-password-checker.php', + '_inc/lib/admin-pages/class-jetpack-about-page.php', + 'modules/masterbar/', + 'modules/memberships/', + 'modules/module-extras.php', + 'modules/module-info.php', + 'modules/sharedaddy.php', + 'modules/theme-tools/social-menu/', + 'modules/verification-tools.php', + 'modules/wpcom-block-editor/class-jetpack-wpcom-block-editor.php', +]; |