The code powering m.abunchtell.com https://m.abunchtell.com
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.
 
 
 
 

95 lines
1.3 KiB

  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. Bundler/OrderedGems:
  57. Enabled: false
  58. AllCops:
  59. TargetRubyVersion: 2.3
  60. Exclude:
  61. - 'spec/**/*'
  62. - 'db/**/*'
  63. - 'app/views/**/*'
  64. - 'config/**/*'
  65. - 'bin/*'
  66. - 'Rakefile'
  67. - 'node_modules/**/*'
  68. - 'Vagrantfile'
  69. - 'vendor/**/*'