
rubocop
List of commands for rubocop:
-
rubocop:tldr:106f0 rubocop: Auto-correct files (experimental).$ rubocop --auto-correcttry on your machineexplain this command
-
rubocop:tldr:488fc rubocop: Check one or more specific files or directories.$ rubocop ${filename} ${path-to-directory}try on your machineexplain this command
-
rubocop:tldr:77137 rubocop: Run only specified cops.$ rubocop --only ${cop_1} ${cop_2}try on your machineexplain this command
-
rubocop:tldr:7989f rubocop: View list of cops (linter rules).$ rubocop --show-copstry on your machineexplain this command
-
rubocop:tldr:984ed rubocop: Check all files in the current directory (including subdirectories).$ rubocoptry on your machineexplain this command
-
rubocop:tldr:b333c rubocop: Exclude a cop.$ rubocop --except ${cop_1} ${cop_2}try on your machineexplain this command
-
rubocop:tldr:ede6e rubocop: Write output to file.$ rubocop --out ${filename}try on your machineexplain this command