Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 2.56 KB

CONTRIBUTING.md

File metadata and controls

56 lines (40 loc) · 2.56 KB

Contributing

We love contributions from everyone. By participating in this project, you agree to follow the HoiPoi code of conduct.

We expect everyone to follow the code of conduct anywhere in our project codebases, issue trackers, chatrooms, and mailing lists.

Contributing guide

  • Fork the repo
  • Clone it
  • Install dependencies
  • Make your changes
    • Create examples with styleguidist
    • Provide a complete documentation using current addons
    • Create new passing tests if needed
  • Make sure the tests pass
  • Write a good commit message
  • Push to your fork
  • Submit a pull request

Others will give constructive feedback. This is a time for discussion and improvements, and making the necessary changes will be required before we can merge the contribution.

Environment

We use react-styleguidist as our development environment and as a documentation, so you must create examples for develop and debug your components.

git clone REPO_URL
cd hoi-poi-ui
yarn install
yarn start

For styling our components we use css-in-js JSS with (jss-preset-default)[https://github.com/cssinjs/jss-preset-default], here is the complete list with plugins we actually use:

Tips

Windows users

  • We use LF characters for line breaks so remember to configure your editor and git: git config --global core.autocrlf false

Tools

We have configurations for eslint and prettier and there are scripts for check your code before commiting it. For that you can use your code editor for improve your productivity.