Skip to content

Commit

Permalink
Exclude javascript locale file from dup check (mastodon#1677)
Browse files Browse the repository at this point in the history
* 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 mastodon#1661)
  • Loading branch information
yookoala authored and Gargron committed Apr 13, 2017
1 parent 7954679 commit 8aadb7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
engines:
duplication:
enabled: true
exclude_paths:
- app/assets/javascripts/components/locales/
config:
languages:
- ruby
Expand Down

0 comments on commit 8aadb7b

Please sign in to comment.