mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-21 05:02:06 +00:00
Update cheatsheets
This commit is contained in:
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Check one or more specific files or directories:
|
||||
|
||||
`rubocop {{path/to/file}} {{path/to/directory}}`
|
||||
`rubocop {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
|
||||
|
||||
- Write output to file:
|
||||
|
||||
@@ -26,11 +26,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Exclude a cop:
|
||||
|
||||
`rubocop --except {{cop_1}} {{cop_2}}`
|
||||
`rubocop --except {{cop1 cop2 ...}}`
|
||||
|
||||
- Run only specified cops:
|
||||
|
||||
`rubocop --only {{cop_1}} {{cop_2}}`
|
||||
`rubocop --only {{cop1 cop2 ...}}`
|
||||
|
||||
- Auto-correct files (experimental):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user