From 8aadb7b0b2619e6b90231bfbbdced347340b6d18 Mon Sep 17 00:00:00 2001 From: Koala Yeung Date: Thu, 13 Apr 2017 19:40:25 +0800 Subject: [PATCH] Exclude javascript locale file from dup check (#1677) * Exclude javascript locale files form Code Climate's duplication engine. It is silly to have duplication check with locale files. They are supposed to look similar. * Prevent unnecessary blocking for translation updates (like #1661) --- .codeclimate.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.codeclimate.yml b/.codeclimate.yml index f0c238b18..8558e3135 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -1,6 +1,8 @@ engines: duplication: enabled: true + exclude_paths: + - app/assets/javascripts/components/locales/ config: languages: - ruby