1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 07:15:22 +02:00

rubocop: fix file/directory style

This commit is contained in:
Henré Botha 2018-03-19 16:34:19 +02:00 committed by Agniva De Sarker
parent 37284eafc3
commit d51e5d7cc0

View file

@ -2,17 +2,17 @@
> Lint Ruby files.
- Check all files in the current directory:
- Check all files in the current directory (including subdirectories):
`rubocop`
- Check specific files or directories:
- Check one or more specific files or directories:
`rubocop {{path_1}} {{path_2}}`
`rubocop /path/to/file /path/to/directory`
- Write output to file:
`rubocop --out {{file}}`
`rubocop --out /path/to/file`
- View list of cops: