mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-16 11:53:13 +00:00
8aadb7b0b2
* 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)
21 lines
295 B
YAML
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
|