Closed dafrie closed 4 years ago
Hey @dafrie, this is awesome! Regarding auto-formatting, I added that earlier with Husky, but it failed due to our existing packages using older node-versions: https://github.com/tmrowco/northapp-contrib/pull/355
ah, missed this - thanks for the info!
Editors
formatOnSave
functionality can not be enabled currently, since many files are not formatted according to the installedprettier
defaults and this would create unnecessary noise in the PR's.This PR thus formats all
*.js
files with the cmdprettier --write "*/**/*.js"
. It could also make sense to add a pre-commit hook to auto-format according to the config on each commit?