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
  • AWS Lambda: Getting account id and stack name

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
    • Already have a WordPress.com account? Log in now.
    • Michael Grosser, the Blog
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar