Skip to content

Backend Practices

Julia Nguyen edited this page Jul 22, 2018 · 9 revisions

Code Quality

  • We use 2 space indentation.
  • We use snakecase for Ruby files and id/class names in HTML.
  • We use single quotes for Ruby files.
  • We follow Airbnb's Ruby style guide

Rubocop

Rubocop is a Ruby static code analyzer that we also integrate in Codeclimate, an automated code review we run when pull requests are made.

rubocop
Clone this wiki locally