-
Notifications
You must be signed in to change notification settings - Fork 10
Develop Setting
bohyeon edited this page Dec 21, 2019
·
3 revisions
- κ°λ° λꡬμ νκ²½, μ½λ© 컨벀μ
- κ°λ° λꡬ
- κ°λ° νκ²½
- μ½λ© 컨벀μ
- develop
- vs code
- κ°λ° μΈμ΄
- javascript
- node version
- node.js v10.16
- μμΌ ν΅μ
- socket.io
- νλ‘ νΈμλ
- react
- styled component
- λ°±μλ
- DB
- MySQL
- μΈμ¦
- OAuth
- μΊμ±
- Redis
- DB
- ν
μ€νΈ
- Jest
- μ£Όμ
- JSDoc
- Build νκ²½
- Webpack
- babel
- μλ² νκ²½
- nCloud
- μλ² ES Module λ°©μ μ¬μ©
- JSDoc: νμνλ€λ©΄, μΈμμ 리ν΄κ°μ νμ μ λͺ μ
- eslint, prettier μ¬μ©
- eslint base: airbnb
- else/ else if μ§μ
- 맀μ§λλ², μ λκ° μμ κΈ°
- tab / space : 2μΉΈ
- ν μ€: 100κΈμ
- arrow parens : true
- arrow body style
// bad
function foo() { return false; }
// good
function bar() {
return false;
}
// bad
const goo = () => { return false; }
// good
const goo = () => false
// good
const goo = () => {
return false;
}
- if μ€κ΄νΈ : νμμ λ°λΌ
// bad
if (test)
return false;
// good
if (test) return false;
// good
if (test) {
return false;
}
- trailing comma : es5 (prettier option)
- νμΌλͺ
: kebab-case (μλ¬Έμ + dash)
- λ¨, 리μ‘νΈ μ»΄ν¬λνΈ νμΌλͺ : PascalCase