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
  • Validating ActiveRecord Backlinks exist
  • Running multiple commands in docker in parallel
  • Rails 2: Your integration tests are lying
  • Locking insights: an alternative to redis set nx ex / memcache add

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