commit: 8aadb7b0b2619e6b90231bfbbdced347340b6d18
parent: 79546799af8b6303e681c48aba76adb6d4274da7
Author: Koala Yeung <koalay@gmail.com>
Date: Thu, 13 Apr 2017 19:40:25 +0800
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)
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/.codeclimate.yml b/.codeclimate.yml
@@ -1,6 +1,8 @@
engines:
duplication:
enabled: true
+ exclude_paths:
+ - app/assets/javascripts/components/locales/
config:
languages:
- ruby