Web application designed to perform digital humanities research tasks on a database of journal articles https://www.rletters.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1005B

  1. AllCops:
  2. Include:
  3. - '**/*.rake'
  4. - Rakefile
  5. - Gemfile
  6. Exclude:
  7. - 'bin/**/*'
  8. - 'node_modules/**/*'
  9. # Automatically generated by Rails
  10. - db/schema.rb
  11. # Automatically generated by the squasher gem
  12. - 'db/migrate/*_init_schema.rb'
  13. # Enable the Rails cops
  14. Rails:
  15. Enabled: true
  16. # We have to have UTF-8 in several of our comments, because we're returning
  17. # UTF-8 data. It's fine.
  18. AsciiComments:
  19. Enabled: false
  20. # Lots of these metrics are being taken care of by CodeClimate, I don't need
  21. # Rubocop warning me about them, too.
  22. Metrics/AbcSize:
  23. Enabled: false
  24. Metrics/CyclomaticComplexity:
  25. Enabled: false
  26. Metrics/PerceivedComplexity:
  27. Enabled: false
  28. # Related: Inch and Yardstick take care of our documentation completeness.
  29. Style/Documentation:
  30. Enabled: false
  31. # FIXME: These are bad. Reduce them to the defaults soon.
  32. MethodLength:
  33. Max: 150
  34. Metrics/ClassLength:
  35. Max: 250
  36. Metrics/BlockLength:
  37. Max: 100
  38. # FIXME: This is bad.
  39. LineLength:
  40. Enabled: false