Skip to content

Instantly share code, notes, and snippets.

@e10a
Last active May 8, 2024 12:59
Show Gist options
  • Save e10a/625ba282916fccacb0b8ac362e10205b to your computer and use it in GitHub Desktop.
Save e10a/625ba282916fccacb0b8ac362e10205b to your computer and use it in GitHub Desktop.
Rubocop - run specific file or folder
# To run a file
rubocop -f files -A test/features/roxy/cart_modal_logged_out/test_cart_promos.rb
# To run a folder
rubocop -f files -A test/features/roxy/cart_modal_logged_out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment