README.md in rubocop-standard-5.1.2 vs README.md in rubocop-standard-5.2.0

- old
+ new

@@ -18,5 +18,27 @@ ``` yaml require: - rubocop-standard ``` + +## How to use it? + +In your .rubocop.yml file, just write: + +```yaml +inherit_gem: + rubocop-standard: + - config/default.yml +``` + +By default, `rubocop-performance` and `rubocop-rake` rules are enforced, because it's assumed that every project cares about these two sets. + +This gem also has `rubocop-minitest` and `rubocop-rails` as dependencies, so you can simply add those in when you care about them: + +```yaml +inherit_gem: + rubocop-standard: + - config/default.yml + - config/minitest.yml + - config/rails.yml +```