From: Koala Yeung Date: Thu, 13 Apr 2017 11:40:25 +0000 (+0800) Subject: Exclude javascript locale file from dup check (#1677) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=8aadb7b0b2619e6b90231bfbbdced347340b6d18;p=mastodon.git 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) --- 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