Sha256: 4093a4a608e7b8c811a31e8ec28b7b20252e3ad13e0d57d7d161eadf1b712ef9
Contents?: true
Size: 1.86 KB
Versions: 7
Compression:
Stored size: 1.86 KB
Contents
# Let's not argue over this... StringLiterals: Enabled: false # I can't find a reason for raise vs fail. SignalException: Enabled: false # I can't find a reason to prefer 'map' when 'collect' is what I mean. # I'm collecting things from a list. Maybe someone can help me understand the # semantics here. CollectionMethods: Enabled: false # Why do you even *SEE* trailing whitespace? Because your editor was # misconfigured to highlight trailing whitespace, right? Maybe turn that off? # ;) TrailingWhitespace: Enabled: false # Line length is another weird problem that somehow in the past 40 years of # computing we don't seem to have solved. It's a display problem :( LineLength: Max: 9000 # %w() vs [ "x", "y", ... ] # The complaint is on lib/pleaserun/detector.rb's map of OS=>Runner, # i'll ignore it. WordArray: MinSize: 5 # A 20-line method isn't too bad. MethodLength: Max: 20 # Hash rockets (=>) forever. Why? Not all of my hash keys are static symbols. HashSyntax: EnforcedStyle: hash_rockets # I prefer explicit return. It makes it clear in the code that the # code author intended to return a value from a method. RedundantReturn: Enabled: false # My view on a readable case statement seems to disagree with # what rubocop wants and it doesn't let me configure it other than # enable/disable. CaseIndentation: Enabled: false # module This::Module::Definition is good. Style/ClassAndModuleChildren: Enabled: true EnforcedStyle: compact # "in interpolation #{use.some("double quotes is ok")}" Style/StringLiteralsInInterpolation: Enabled: true EnforcedStyle: double_quotes # Long-block `if !something ... end` are more readable to me than `unless something ... end` Style/NegatedIf: Enabled: false Style/NumericLiterals: MinDigits: 6 # This kind of style "useless use of %x" assumes code is write-once. Style/UnneededPercentX: Enabled: false
Version data entries
7 entries across 7 versions & 1 rubygems
Version | Path |
---|---|
flores-0.0.8 | .rubocop.yml |
flores-0.0.7 | .rubocop.yml |
flores-0.0.6 | .rubocop.yml |
flores-0.0.5 | .rubocop.yml |
flores-0.0.4 | .rubocop.yml |
flores-0.0.3 | .rubocop.yml |
flores-0.0.2 | .rubocop.yml |