![]() test plan: * create a new file "test.rb" * add "AUTO_CORRECT_LINTERS=1" to your .env * install the pre-commit hook: echo "bin/lint" >> .git/hooks/pre-commit chmod +x .git/hooks/pre-commit * git add . * git commit -m "this should fail" * verify the commit fails * add the auto-corrected test.rb * try to commit again * verify it commits successfully Change-Id: I3d52d6b192ca3bd83266a3e58d594acc3c516782 Reviewed-on: https://gerrit.instructure.com/111088 Tested-by: Jenkins Reviewed-by: Jon Jensen <jon@instructure.com> Product-Review: Jon Jensen <jon@instructure.com> QA-Review: Jon Jensen <jon@instructure.com> |
||
---|---|---|
.. | ||
byebug-remote | ||
dress_code | ||
lint | ||
rails | ||
rake | ||
rspec | ||
spring |