Sha256: 00f4867789a3636812cb2b358ba2ec67111575e0152eadf3a5733e538ef56a58
Contents?: true
Size: 1.52 KB
Versions: 1
Compression:
Stored size: 1.52 KB
Contents
AllCops: DisplayCopNames: true ## Lint # just a preference Lint/BlockAlignment: EnforcedStyleAlignWith: start_of_block ## Metrics # inherit from onkcop Metrics/LineLength: Max: 160 # inherit from onkcop Metrics/MethodLength: Max: 20 ## Style # when copy-and-past to REPL, trailing dot is more safety # inherit from onkcop Style/DotPosition: EnforcedStyle: trailing # just a preference Style/EmptyMethod: EnforcedStyle: expanded # I like sprintf than format Style/FormatString: EnforcedStyle: sprintf # not to use hash rockets # but unification is more important Style/HashSyntax: EnforcedStyle: ruby19_no_mixed_keys # more short line length and compact diff when change method name # inherit from onkcop Style/IndentArray: EnforcedStyle: consistent # same as reason of Style/IndentArray Style/IndentHash: EnforcedStyle: consistent # just a preference Style/InlineComment: Enabled: false # I use both Style/RegexpLiteral: EnforcedStyle: mixed # I don't want to be enforced # inherit from onkcop Style/SafeNavigation: Enabled: false # my superior said # "if you need to use 'send', the code is do to something wrong" Style/Send: Enabled: true # just a preference Style/SingleLineMethods: AllowIfMethodIsEmpty: false # human readable Style/TernaryParentheses: EnforcedStyle: require_parentheses_when_complex # I use trailing comma Style/TrailingCommaInArguments: EnforcedStyle: consistent_comma # same as reason of Style/TrailingCommaInArguments Style/TrailingCommaInLiteral: EnforcedStyle: consistent_comma
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unasukecop-0.1.1 | config/rubocop.yml |