mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-31 01:33:59 +02:00

* 7z, 7za, 7zr: update Indonesian translation * common: imperative mood on Indonesian translation * linux, osx, windows: imperative mood on Indonesian translation * common, linux: add Indonesian translation * powershell, pwsh: add Indonesian translation * common: add Indonesian translation * gcc: use standard file path template * Update pages.id/common/gcc.md Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * Update pages.id/common/gcc.md Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * Update pages.id/common/7za.md Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * Apply suggestions from code review Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * Update pages.id/common/gcc.md Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> * Update pages.id/common/7za.md Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> * Update 7za.md Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> * Update gcc.md Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> * git-commit: update Indonesian translation --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
32 lines
701 B
Markdown
32 lines
701 B
Markdown
# rubocop
|
|
|
|
> Analisa file Ruby.
|
|
> Informasi lebih lanjut: <https://docs.rubocop.org/rubocop/usage/basic_usage.html>.
|
|
|
|
- Periksa semua file dalam direktori saat ini (termasuk direktori-direktori di dalamnya):
|
|
|
|
`rubocop`
|
|
|
|
- Periksa satu atau lebih file atau direktori secara khusus:
|
|
|
|
`rubocop {{jalan/menuju/file}} {{jalan/menuju/direktori}}`
|
|
|
|
- Tulis output ke file:
|
|
|
|
`rubocop --out {{jalan/menuju/file}}`
|
|
|
|
- Melihat daftar cop (aturan-aturan dalam menganalisa):
|
|
|
|
`rubocop --show-cops`
|
|
|
|
- Mengecualikan cop:
|
|
|
|
`rubocop --except {{cop_1}} {{cop_2}}`
|
|
|
|
- Menjalankan hanya beberapa cop:
|
|
|
|
`rubocop --only {{cop_1}} {{cop_2}}`
|
|
|
|
- Memperbaiki file secara otomatis (fitur percobaan):
|
|
|
|
`rubocop --auto-correct`
|