Mastodon by Werefox Software source code
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.

.rubocop.yml 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. Rails:
  2. Enabled: true
  3. Style/PerlBackrefs:
  4. AutoCorrect: false
  5. Style/ClassAndModuleChildren:
  6. Enabled: false
  7. Metrics/BlockNesting:
  8. Max: 2
  9. Metrics/LineLength:
  10. AllowURI: true
  11. Enabled: false
  12. Metrics/MethodLength:
  13. CountComments: false
  14. Max: 10
  15. Metrics/AbcSize:
  16. Max: 100
  17. Metrics/BlockNesting:
  18. Max: 3
  19. Metrics/ClassLength:
  20. CountComments: false
  21. Max: 200
  22. Metrics/CyclomaticComplexity:
  23. Max: 15
  24. Metrics/MethodLength:
  25. Max: 55
  26. Metrics/ModuleLength:
  27. CountComments: false
  28. Max: 200
  29. Metrics/PerceivedComplexity:
  30. Max: 10
  31. Metrics/ParameterLists:
  32. Max: 4
  33. CountKeywordArgs: true
  34. Style/AccessModifierIndentation:
  35. EnforcedStyle: indent
  36. Style/CollectionMethods:
  37. Enabled: true
  38. PreferredMethods:
  39. find_all: 'select'
  40. Style/Documentation:
  41. Enabled: false
  42. Style/DoubleNegation:
  43. Enabled: true
  44. Style/FrozenStringLiteralComment:
  45. Enabled: true
  46. Style/SpaceInsideHashLiteralBraces:
  47. EnforcedStyle: space
  48. Style/TrailingCommaInLiteral:
  49. EnforcedStyleForMultiline: 'comma'
  50. Style/RegexpLiteral:
  51. Enabled: false
  52. Style/Lambda:
  53. Enabled: false
  54. Rails/HasAndBelongsToMany:
  55. Enabled: false
  56. AllCops:
  57. TargetRubyVersion: 2.3
  58. Exclude:
  59. - 'spec/**/*'
  60. - 'db/**/*'
  61. - 'app/views/**/*'
  62. - 'config/**/*'
  63. - 'bin/*'
  64. - 'Rakefile'