Skip to content

Commit

Permalink
pipe rubocop output to devnull (#1521)
Browse files Browse the repository at this point in the history
  • Loading branch information
xavdid-stripe authored Jan 17, 2025
1 parent b03b022 commit 5304640
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ alias lint-check := format-check
# ⭐ check style & formatting for all files, fixing what we can
lint: (format-check "--autocorrect")

# NOTE: "-o /dev/null" is vital - rubocop has super noisy output and codegen will crash when formatting ruby if everything gets printed
# so, we send all its output to the void
# copy of `lint` with less output
format: (format-check "--format quiet --autocorrect")
format: (format-check "-o /dev/null --autocorrect")

update-certs: install
bundle exec rake update_certs
Expand Down

0 comments on commit 5304640

Please sign in to comment.