Repository URL to install this package:
|
Version:
0.1.8 ▾
|
elixir-pay-record
/
.rubocop.yml
|
|---|
AllCops:
TargetRubyVersion: 2.5.1
Exclude:
- db/schema.rb
- db/migrate/**
- db/migrations/**
- apps/**/application.rb
- db/seeds.rb
- spec/**
Style/ClassAndModuleChildren:
EnforcedStyle: nested
# ABC 크기는 20
Metrics/AbcSize:
# The ABC size is a calculated magnitude, so this number can be a Fixnum or
# a Float.
Max: 100
Metrics/MethodLength:
CountComments: false # count full line comments?
Max: 100
Metrics/LineLength:
Max: 120
# To make it possible to copy or click on URIs in the code, we allow lines
# containing a URI to be longer than Max.
AllowHeredoc: true
AllowURI: true
URISchemes:
- http
- https
# Test code에 대해서는 block 길이 신경쓰지 말자
Metrics/BlockLength:
Max: 50
CountComments: false
Exclude:
- test/**/*.rb
- spec/**/*.rb
- config/routes.rb
Metrics/ClassLength:
CountComments: false # count full line comments?
Max: 300
Exclude:
- test/**/*.rb
Metrics/CyclomaticComplexity:
Max: 10