]> cat aescling's git repositories - mastodon.git/commitdiff
Exclude javascript locale file from dup check (#1677)
authorKoala Yeung <koalay@gmail.com>
Thu, 13 Apr 2017 11:40:25 +0000 (19:40 +0800)
committerEugen <eugen@zeonfederated.com>
Thu, 13 Apr 2017 11:40:25 +0000 (13:40 +0200)
* 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

index f0c238b189b103a9c0eba2c2a7e02603e119ffeb..8558e3135f8ee87cb4d4af7588e0edb35c98b0cf 100644 (file)
@@ -1,6 +1,8 @@
 engines:
  duplication:
    enabled: true
+   exclude_paths:
+     - app/assets/javascripts/components/locales/
    config:
      languages:
      - ruby