Open someyaaltous opened 4 years ago
To install the package and its dependencies:
$ npm install --save-dev eslint@4.19.1 \
eslint-config-pagarme-react \
stylelint@8.0.0 \
stylelint-config-pagarme-react \
The peer dependencies specified above have hardcoded versions. If you prefer, you can use the command
npm info eslint-config-pagarme-react@latest peerDependencies
to find the exact peer dependencies to install.
To include these rules into your project, create the following config files in your root folder:
.eslintrc
{
"extends": ["pagarme-react"],
"env": {
"browser": true
}
}
.stylelintrc
{ "extends": ["stylelint-config-pagarme-react"] }
All components should always be defined as a directory, named with pascal casing. The main component file should be index.js
, main stylesheet style.css
like :
HomePage/
├── index.js
└── style.css
feature/add-search-function
or fix/change-searchbar-color
Change the color of search bar
instead of Changed/changes color of search bar
Team: @Rahaf-96 @bayan-404 @kholoudfann @Hussein-shahatet97 Project Lead: @someyaaltous
Issues and Labels
Should be used labels when creating issues.
Time
Time estimation, although hard, its very important. We ask that you try and include a time estimating with Dwyl Labels for every issue, even if you are not sure. There are 5 built-in time labels: