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)
This commit is contained in:
Koala Yeung 2017-04-13 19:40:25 +08:00 committed by Eugen
parent 79546799af
commit 8aadb7b0b2

View File

@ -1,6 +1,8 @@
engines:
duplication:
enabled: true
exclude_paths:
- app/assets/javascripts/components/locales/
config:
languages:
- ruby