Team Rules - codestates/BuildUp-client GitHub Wiki
Team Rules
1. ๊ธฐ๋ณธ๊ท์น
- ํน์ด์ฌํญ ๋ฐ์์ ํ์๋ค์ด ์ ์ ์๋๋ก ๋น์ผ ํ์์์ 30๋ถ ์ ๊น์ง ํ์ฅ์๊ฒ ์๋ฆฝ๋๋ค.
2. Issue Card ํ์
## Fill the title according to the below form
[Client/Server/Database] / [#์ด์๋ฒํธ] / edit: [์์ ํ ํ์ผ๋ช
]
## ISSUE
* Group: client, server, database
* Type: add, fix, delete
* Detail: fix actions from group
## TODO
- [x] Job1
- [x] Job2
- [x] Job3
## Estimated time
> Pick one of the below
> 0.5h / 1h / 1.5h / 2h / 2.5h / 3h
## Labels
Estimated time: E: 1h
Group : client, server
Sprint: Sprint__NUMBER__
Urgency: High, Middle, Low
3. ๊น ๋ธ๋์น ์์ฑ๊ท์น
- feature/#[์ด์๋ฒํธ]-[๊ธฐ๋ฅ์ด๋ฆ]
์์1: feature/#11-login
์์2: feature/#21-logout
- bugfix/#[์ด์๋ฒํธ]/[๊ธฐ๋ฅ์ด๋ฆ]
์์: bugfix/#31/login
4. ์ปค๋ฐ ์์ฑ๊ท์น
- [๋์] #[์ด์๋ฒํธ] - [๋ด์ฉ]
์์1: Add #11 - edit: login
์์2: Fix #24 - edit: logout
5. PR ์ ๋ชฉํ์
- [Client/Server/Database] / [#์ด์๋ฒํธ] / edit: [์์ ํ ํ์ผ๋ช ]
FE ์์: [Client] / #11 / edit: login
BE ์์: [Server] / #24 / edit: logout
- PR ๋ด์ฉ์ Issue Card๋ฅผ ์ฐธ๊ณ ํ์ฌ ์์ฑํฉ๋๋ค.
6. ESlint
Client Eslint, prettier settings
devDependncy๋ก node packages๋ฅผ ์ค์นํด์ผ ํฉ๋๋ค.
npm install prettier --save-dev
npm install eslint-config-prettier --save-dev
npm install eslint-plugin-prettier --save-dev
package.json์ eslintConfig์ prettierrc.json์ด ์๋๋ด์ฉ๊ณผ ์ผ์นํ๋์ง ํ์ธํฉ๋๋ค.
// package.json
{
"extends": [
"react-app",
"plugin:prettier/recommend"
]
}
// .prettierrc.json
{
"singleQuote": false,
"semi": true,
"useTabs": false,
"tabWidth": 2,
"trailingComma": "all",
"printWidth": 80
}
// VSCode settings.json
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll": true,
},
"editor.formatOnSave": true,
// ESLint, Prettier์ Autofix on Save๊ฐ ์๋ํ์ง ์์ผ๋ฉด,
// ๋ค์ ์ฝ๋๋ฅผ ์
๋ ฅํ์ฌ Formatter๋ฅผ Prettier๋ก ์ค์ ํด์ผ ํ๋ค.
"editor.defaultFormatter": "esbenp.prettier-vscode",
}
7. node, nvm version
- Node v14.16.0.
- NPM v6.14.11