0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

push前にrubocopを実行するときのコマンド

Last updated at Posted at 2021-01-04

この記事はメモ記事です。 _φ(・ _ ・

push前にrubocopを実行するときのコマンド

bundle exec rubocop -a path_to_a_target_file
オプションの-aは、インデントとか軽いミスを自動で直して欲しい時につけると便利。

こんな感じで結果が返ってきます↓ 自動で修正してくれました^^
1 file inspected, 1 offense detected, 1 offense corrected

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?