rubocop

Lint Ruby files.
More information.
rubocop
rubocop {path/to/file} {path/to/directory}
rubocop --out {path/to/file}
rubocop --show-cops
rubocop --except {cop_1} {cop_2}
rubocop --only {cop_1} {cop_2}
rubocop --auto-correct
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY