-
Notifications
You must be signed in to change notification settings - Fork 2
회의록 3️⃣
Yurin Wang edited this page Jan 5, 2023
·
2 revisions
- 폴더 구조 짜기
- ESLint -> 논의 ..
- Prettier 맞추기
- 폴더 구조 초기 셋팅 완료
yarn create react-app .
yarn add -D prettier
yarn add styled-components
yarn add styled-reset
yarn add axios
yarn add eslint-config-airbnb
// .prettierrc 파일 생성 후 아래 코드 추가
{
"arrowParens": "always",
"bracketSameLine": false,
"bracketSpacing": true,
"embeddedLanguageFormatting": "auto",
"htmlWhitespaceSensitivity": "css",
"insertPragma": false,
"jsxSingleQuote": false,
"printWidth": 80,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"requirePragma": false,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false,
"vueIndentScriptAndStyle": false
}
// .prettierignore 생성 후 아래 코드 추가
node_modules
dist
// gitignore
# zero install
.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
// eslint 설치
npx eslint --init
// eslint-config-airbnb 설치