create-react-library
create-react-library copied to clipboard
setup Husky and Lint-staged
Also styled the existent code in template folders with prettier --write
sometimes files are not save or may another reason prettier does not run over some files, to avoid commit or publish code without common style, husky and lint-staged helps with that. May be already know, anyway it case if not, I leave a medium post about it
You should add a Prettier configuration file with some explicit format rules at the root level. Without that, it could be different on various environments.