about summary refs log tree commit diff
diff options
context:
space:
mode:
authorKoala Yeung <koalay@gmail.com>2017-04-13 19:40:25 +0800
committerEugen <eugen@zeonfederated.com>2017-04-13 13:40:25 +0200
commit8aadb7b0b2619e6b90231bfbbdced347340b6d18 (patch)
treea4122a3a582d77d7901b08b9c5422b1e4beae251
parent79546799af8b6303e681c48aba76adb6d4274da7 (diff)
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)
-rw-r--r--.codeclimate.yml2
1 files changed, 2 insertions, 0 deletions
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