1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-18 08:38:20 +09:00
mastodon/.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