Common temaplate including some small improvements:
- Typescript ready
- prettier onSave
- eslint with enhanced rules
- stylelint
- VSCode / Codium workspace
- commitlint
- some handy VSCode plugins
- template is using handy Real Favicon Generator = upload your image and replace icons
- if u are using
styled-components
please improve.stylelint.config/js
see more or sass config - feel free to customize commitlint as husky pre-commit hook (e.g. add Jira ticket requirement)
- devDependecies cannot be splitted on template level, feel free to do it on your own
npx create-react-app my-app --template @serusko/common
# or
yarn create react-app my-app --template @serusko/common
move all dependencies
except (react
, react-dom
, web-vitals
) to devDependencies