Guest User

Untitled

a guest
Dec 15th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. AllCops:
  2. Exclude:
  3. - 'vendor/**/*'
  4. - 'bin/**/*'
  5. - 'spec/fixtures/**/*'
  6. - 'db/schema.rb'
  7. - 'db/seeds.rb'
  8. TargetRubyVersion: 2.3
  9.  
  10. Rails:
  11. Enabled: true
  12.  
  13. # 子Class/Moduleの指定方法
  14. Style/ClassAndModuleChildren:
  15. Enabled: false
  16.  
  17. Style/FrozenStringLiteralComment:
  18. Enabled: false
  19.  
  20. # 行の長さの制限を80->120に変更
  21. Metrics/LineLength:
  22. Max: 120
  23. Exclude:
  24. - 'config/initializers/*'
  25.  
  26. Style/Documentation:
  27. Enabled: false
  28.  
  29. Layout/SpaceBeforeFirstArg:
  30. Enabled: false
  31.  
  32. Metrics/MethodLength:
  33. Max: 50
  34.  
  35. Style/AsciiComments:
  36. Enabled: false
  37.  
  38. Style/MultilineBlockChain:
  39. Enabled: false
  40.  
  41. Metrics/AbcSize:
  42. Max: 22
  43. Exclude:
  44. - 'db/migrate/*'
  45.  
  46. Metrics/BlockLength:
  47. Exclude:
  48. - 'config/routes.rb'
  49. - 'app/admin/*'
  50. - 'config/environments/*'
  51.  
  52. Rails/Output:
  53. Exclude:
  54.  
  55. Security/MarshalLoad:
  56. Exclude:
  57.  
  58. Bundler/OrderedGems:
  59. Enabled: false
  60.  
  61. Metrics/ParameterLists:
  62. Exclude:
  63.  
  64. Style/NumericPredicate:
  65. Exclude:
  66.  
  67. Rails/NotNullColumn:
  68. Exclude:
  69. - 'db/**/*.rb'
  70.  
  71. Metrics/ClassLength:
  72. Max: 150
  73. Exclude:
  74. - 'test/**/*'
  75.  
  76. Rails/SkipsModelValidations:
  77. Enabled: false
Add Comment
Please, Sign In to add comment