Skip to content

Latest commit

ย 

History

History
99 lines (76 loc) ยท 3.6 KB

File metadata and controls

99 lines (76 loc) ยท 3.6 KB

๐Ÿคฆโ€โ™‚๏ธ ์ธ๊ฐ„์ง€ํ‘œ ๐Ÿ“‰

  • ์—ฌ๋Ÿฌ ์ปค๋ฎค๋‹ˆํ‹ฐ์˜ ๊ฐ์ • ๋ฐ์ดํ„ฐ๋ฅผ ์ข…ํ•ฉ ๋ถ„์„ํ•˜์—ฌ ์ฃผ์‹ ์ข…๋ชฉ๋ณ„๋กœ ์ ์ˆ˜ํ™”ํ•˜์—ฌ ์ง€ํ‘œ๋กœ ์ œ๊ณตํ•˜๋Š” ์„œ๋น„์Šค

๐Ÿ›  Tech Stack

TypeScript react vite reactquery ESLint prettier

๐ŸŒ Front-End Developers

๊น€๋ฏผ์ˆ˜ ๋ฐ•ํ˜„์ˆ˜
durumi99 Jadest13

๐Ÿค Convention

โœ”๏ธ Commit Convention

  • โœ…ย [chore]ย : ๋™์ž‘์— ์˜ํ–ฅ ์—†๋Š” ์ฝ”๋“œ or ๋ณ€๊ฒฝ ์—†๋Š” ๋ณ€๊ฒฝ์‚ฌํ•ญ(์ฃผ์„ ์ถ”๊ฐ€ ๋“ฑ)
  • โœจย [feat]ย : ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ ๊ตฌํ˜„
  • โž•ย [add]ย : Feat ์ด์™ธ์˜ ๋ถ€์ˆ˜์ ์ธ ์ฝ”๋“œ ์ถ”๊ฐ€, ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์ถ”๊ฐ€, ์ƒˆ๋กœ์šด ํŒŒ์ผ ์ƒ์„ฑ
  • ๐Ÿ”จย [fix]ย : ๋ฒ„๊ทธ, ์˜ค๋ฅ˜ ํ•ด๊ฒฐ
  • โšฐ๏ธย [del]ย : ์“ธ๋ชจ์—†๋Š” ์ฝ”๋“œ ์‚ญ์ œ
  • ๐Ÿ“ย [docs]ย : README๋‚˜ WIKI ๋“ฑ์˜ ๋ฌธ์„œ ์ˆ˜์ •
  • โœ๏ธย [correct]ย : ์ฃผ๋กœ ๋ฌธ๋ฒ•์˜ ์˜ค๋ฅ˜๋‚˜ ํƒ€์ž…์˜ ๋ณ€๊ฒฝ, ์ด๋ฆ„ ๋ณ€๊ฒฝ์‹œ
  • โช๏ธย [rename]ย : ํŒŒ์ผ ์ด๋ฆ„ ๋ณ€๊ฒฝ์‹œ
  • โ™ป๏ธย [refactor]ย : ์ „๋ฉด ์ˆ˜์ •
  • ๐Ÿ”€ย [merge]: ๋‹ค๋ฅธ ๋ธŒ๋žœ์น˜์™€ ๋ณ‘ํ•ฉ

ex) commit -m "{#issue number} [feat] user API ๊ตฌํ˜„โ€

โœ”๏ธ Branch Convention

  • [feat] : ๊ธฐ๋Šฅ ์ถ”๊ฐ€
  • [fix] : ์—๋Ÿฌ ์ˆ˜์ •, ๋ฒ„๊ทธ ์ˆ˜์ •
  • [docs] : README, ๋ฌธ์„œ
  • [refactor] : ์ฝ”๋“œ ๋ฆฌํŽ™ํ† ๋ง (๊ธฐ๋Šฅ ๋ณ€๊ฒฝ ์—†์ด ์ฝ”๋“œ๋งŒ ์ˆ˜์ •ํ•  ๋•Œ)
  • [modify] : ์ฝ”๋“œ ์ˆ˜์ • (๊ธฐ๋Šฅ์˜ ๋ณ€ํ™”๊ฐ€ ์žˆ์„ ๋•Œ)
  • [chore] : gradle ์„ธํŒ…, ์œ„์˜ ๊ฒƒ ์ด์™ธ์— ๊ฑฐ์˜ ๋ชจ๋“  ๊ฒƒ

ex) feat/#1-user-api


React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

  • Configure the top-level parserOptions property like this:
export default tseslint.config({
  languageOptions: {
    // other options...
    parserOptions: {
      project: ['./tsconfig.node.json', './tsconfig.app.json'],
      tsconfigRootDir: import.meta.dirname,
    },
  },
})
  • Replace tseslint.configs.recommended to tseslint.configs.recommendedTypeChecked or tseslint.configs.strictTypeChecked
  • Optionally add ...tseslint.configs.stylisticTypeChecked
  • Install eslint-plugin-react and update the config:
// eslint.config.js
import react from 'eslint-plugin-react'

export default tseslint.config({
  // Set the react version
  settings: { react: { version: '18.3' } },
  plugins: {
    // Add the react plugin
    react,
  },
  rules: {
    // other rules...
    // Enable its recommended rules
    ...react.configs.recommended.rules,
    ...react.configs['jsx-runtime'].rules,
  },
})