1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-24 07:06:34 +09:00
YuruToot/.codeclimate.yml
Koala Yeung 8aadb7b0b2 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)
2017-04-13 13:40:25 +02:00

21 lines
295 B
YAML

engines:
duplication:
enabled: true
exclude_paths:
- app/assets/javascripts/components/locales/
config:
languages:
- ruby
- javascript
rubocop:
enabled: true
eslint:
enabled: true
ratings:
paths:
- "**.rb"
- "**.js"
exclude_paths:
- spec/
- vendor/asset