diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 172ad0d..37b02bb 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -7,5 +7,7 @@ module.exports = { plugins: ['react-refresh'], rules: { 'react-refresh/only-export-components': ['warn', { allowConstantExport: true }], + 'no-var': 'error', + 'no-console': ['error', { allow: ['warn', 'error', 'info'] }], }, }; diff --git a/.github/ISSUE_TEMPLATE/issue-template.md b/.github/ISSUE_TEMPLATE/issue-template.md index fd87b27..ecb0e63 100644 --- a/.github/ISSUE_TEMPLATE/issue-template.md +++ b/.github/ISSUE_TEMPLATE/issue-template.md @@ -1,16 +1,17 @@ --- name: issue template about: 미니 프로젝트 이슈 템플릿 -title: "[ 페이지명 ] 이슈 내용" +title: '[ 페이지명 ] 이슈 내용' labels: '' assignees: '' - --- ## Todo + - [ ] Todo1 - [ ] Todo2 - [ ] Todo3 ## 참고자료 + - 있으면 추가하고 없을 시 삭제 하세요. diff --git a/.gitignore b/.gitignore index 438657a..a4b3987 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ dist dist-ssr *.local .env +.eslintcache # Editor directories and files .vscode/* diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 0000000..57fd229 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,5 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +npm run lint +npm run format diff --git a/.husky/pre-push b/.husky/pre-push new file mode 100755 index 0000000..75fac8e --- /dev/null +++ b/.husky/pre-push @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +npm run lint diff --git a/index.html b/index.html index 05bfe53..a564273 100644 --- a/index.html +++ b/index.html @@ -1,24 +1,26 @@ +
+ + + + + + + + + + +