Introduction
Rubocop helps you find and fix mistakes in your Ruby code. It makes your code clean and easy to read.
You want to check your Ruby code for style mistakes before sharing it.
You want to keep your code consistent with common Ruby style rules.
You want to find errors or bad patterns early in your code.
You want to learn good Ruby coding habits by seeing suggestions.
You want to automatically fix simple style problems in your code.