From 0b44630b2843e97cc0122a8cdc8a6442d1fcac61 Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Mon, 20 Jun 2016 16:30:07 -0300 Subject: [PATCH] Initial codeclimate file, closes #11196 --- .codeclimate.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .codeclimate.yml diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 00000000000..2dcba39eeb4 --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,28 @@ +engines: + phpcodesniffer: + enabled: true + config: + standard: "WordPress" + eslint: + enabled: true + scss-lint: + enabled: true + duplication: + enabled: true + config: + languages: + - php + #mass_threshold: 30 + - javascript +exclude_paths: + - tests/* + - apigen/* + - dummy-data/* + - i18n/* + - includes/api/legacy/* + - includes/libraries/* + - includes/updates/* + - includes/gateways/simplify-commerce/* + - includes/shipping/legacy-* + - includes/wc-deprecated-functions.php + - includes/class-wc-legacy-api.php