-
Notifications
You must be signed in to change notification settings - Fork 816
/
Copy pathphpcs-whitelist.js
61 lines (61 loc) · 2.47 KB
/
phpcs-whitelist.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// If the file path starts with anything like in the array below, it should be linted.
// New files must be added here when they're created.
// If you are able to clear all errors from a file, please add it here.
module.exports = [
'3rd-party/3rd-party.php',
'3rd-party/bbpress.php',
'3rd-party/class.jetpack-amp-support.php',
'3rd-party/class-jetpack-bbpress-rest-api.php',
'3rd-party/woocommerce-services.php',
'class.jetpack-bbpress-json-api.compat.php',
'class.jetpack-gutenberg.php',
'class.jetpack-plan.php',
'docker',
'extensions/',
'functions.cookies.php',
'functions.global.php',
'functions.opengraph.php',
'_inc/lib/admin-pages/class-jetpack-about-page.php',
'_inc/lib/class-jetpack-instagram-gallery-helper.php',
'_inc/lib/class-jetpack-mapbox-helper.php',
'_inc/lib/class-jetpack-podcast-helper.php',
'_inc/lib/class.jetpack-password-checker.php',
'_inc/lib/components.php',
'_inc/lib/core-api/class.jetpack-core-api-site-endpoints.php',
'_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-instagram-gallery.php',
'_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-podcast-player.php',
'_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-resolve-redirect.php',
'_inc/lib/core-api/wpcom-endpoints/memberships.php',
'_inc/lib/debugger/',
'_inc/lib/plans.php',
'jetpack.php',
'json-endpoints/jetpack/class-jetpack-json-api-delete-backup-helper-script-endpoint.php',
'json-endpoints/jetpack/class-jetpack-json-api-install-backup-helper-script-endpoint.php',
'load-jetpack.php',
'modules/masterbar/',
'modules/memberships/',
'modules/module-extras.php',
'modules/module-info.php',
'modules/post-by-email.php',
'modules/post-by-email/',
'modules/publicize.php',
'modules/search/class-jetpack-instant-search.php',
'modules/search/class-jetpack-search-customize.php',
'modules/search/class.jetpack-search-options.php',
'modules/search/class.jetpack-search.php',
'modules/sharedaddy.php',
'modules/shortcodes/',
'modules/sitemaps/sitemaps.php',
'modules/theme-tools/compat/twentytwenty.php',
'modules/theme-tools/social-menu/',
'modules/theme-tools/devicepx.php',
'modules/verification-tools.php',
'modules/widgets/contact-info.php',
'modules/widgets/eu-cookie-law/widget-amp.php',
'modules/widgets/social-icons.php',
'modules/woocommerce-analytics.php',
'modules/wpcom-block-editor/class-jetpack-wpcom-block-editor.php',
'modules/wpcom-tos/wpcom-tos.php',
'packages',
'tests/e2e/plugins/e2e-plan-data-interceptor.php',
];