mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-25 09:15:32 +02:00
rubocop: add Indonesian translation (#9279)
This commit is contained in:
parent
c3a2251d88
commit
d627443c0a
1 changed files with 32 additions and 0 deletions
32
pages.id/common/rubocop.md
Normal file
32
pages.id/common/rubocop.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
# rubocop
|
||||
|
||||
> Menganalisa file Ruby.
|
||||
> Informasi lebih lanjut: <https://docs.rubocop.org/rubocop/usage/basic_usage.html>.
|
||||
|
||||
- Memeriksa semua file dalam direktori saat ini (termasuk direktori-direktori di dalamnya):
|
||||
|
||||
`rubocop`
|
||||
|
||||
- Memeriksa satu atau lebih file atau direktori secara khusus:
|
||||
|
||||
`rubocop {{jalan/menuju/file}} {{jalan/menuju/direktori}}`
|
||||
|
||||
- Menulis 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`
|
Loading…
Add table
Reference in a new issue