Retroactively run a formatter on past commits by using the`--exec` option during an interactive rebase:

git rebase -i --exec 'mix format’ main
git rebase -i --exec 'prettier --write {**/*,*}.js’ main
git rebase -i --exec 'rubocop -a’ main

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!