ARCHIVE

GIT
git: Add a Precommit Hook to Add Prettier to Staged Files

Without husky / lint-staged If you want to do it without husky and lint-staged you just need this file in .githooks/pre-commit if you want you can install prettier as a dev dependency locally or have it globally you can have a .prettierrc like: also you need this command to make it executable set the hooks

Continue reading

Useful git commands

To have this happen automatically for branches without a trackingupstream, see ‘push.autoSetupRemote’ in ‘git help config’.
{"type":"main_options","images_arr":"'#ffffff'","bg_slideshow_time":"0","site_url":"https:\/\/digitalzoomstudio.net","theme_url":"https:\/\/digitalzoomstudio.net\/wp-content\/themes\/qucreative\/","is_customize_preview":"off","gallery_w_thumbs_autoplay_videos":"off","base_url":"https:\/\/digitalzoomstudio.net"}