brightness, n, open, pbcopy, pbpaste, rename, route, rubocop, softwareupdate, timed, where, while, xed, xip: add link (#7831)

This commit is contained in:
git-em
2022-03-01 10:21:17 -03:00
committed by GitHub
parent 80ddce96fe
commit 2ce63b334e
19 changed files with 19 additions and 1 deletions

View File

@@ -1,31 +0,0 @@
# rubocop
> 格式化 Ruby 文件。
- 检查当前目录中的所有文件(包括子目录):
`rubocop`
- 检查一个或多个指定文件或目录:
`rubocop {{目录 / 文件名}} {{目录 /}}`
- 将输出写入指定文件:
`rubocop --out {{目录 / 文件名}}`
- 查看规则列表(格式化规则):
`rubocop --show-cops`
- 排除格式规则:
`rubocop --except {{规则 1}} {{规则 2}}`
- 只运行指定的规则:
`rubocop --only {{规则 1}} {{规则 2}}`
- 自动更正文件(实验):
`rubocop --auto-correct`