Michael Grosser, the Blog

Google+ LinkedIn Twitter

Menu

Skip to content
  • Home
  • About

Tag Archives: Rubocop

Ruby Consistent 2-space Indent with Rubocop

Rubocop comes with rules to enforce consistent 2-space indentation, they just need to be enabled!

see rubocop issue and example PR

Layout/FirstHashElementLineBreak:
  Enabled: true

Layout/FirstMethodArgumentLineBreak:
  Enabled: true

Layout/FirstMethodParameterLineBreak:
  Enabled: true
2019-03-25pragmatig Rubocop, Ruby Leave a comment
  • Whats my Coverage? (C0 C1 C2 C3 + Path)
  • Ruby Hash#contain?(other)
  • Airbrake search
  • Producing Golang error backtraces / stacktraces
  • Autoupdate jQuery with Rake

Recent Posts

  • Testing Kubernetes CEL admission/valdiation
  • Producing Golang error backtraces / stacktraces
  • Makefile: speedup go build & run by using mtimes
  • Datadog: Show Metric Usage Warning From HPA Metrics
  • Kubernetes Changelog from Audit log
Create a website or blog at WordPress.com
  • Subscribe Subscribed
    Michael Grosser, the Blog

    Have a WordPress.com account? Log in now.

  • Michael Grosser, the Blog
    View site in Reader
    Manage subscriptionsSign upLog in
    Report this content
    Collapse this bar