Skip to content

Latest commit

 

History

History
149 lines (141 loc) · 9.18 KB

cops.adoc

File metadata and controls

149 lines (141 loc) · 9.18 KB

Cops

In RuboCop lingo the various checks performed on the code are called cops. Each cop is responsible for detecting one particular offense. RuboCop Rails has only one Rails department.

Some of the Rails cops have configuration options, allowing them to enforce different coding conventions.

Rails

Rails cops check for Rails best practices and coding conventions. Many of the them are based on the Rails Style Guide.

Department Rails