Update cheatsheets

This commit is contained in:
ivuorinen
2024-09-09 00:17:25 +00:00
parent 70eb9d3aae
commit 63176c5eb3
9 changed files with 51 additions and 36 deletions

View File

@@ -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):