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:
parent
37284eafc3
commit
d51e5d7cc0
1 changed files with 4 additions and 4 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue