Skip to content

Commit 43365c3

Browse files
committed
Initial commit
0 parents  commit 43365c3

File tree

11 files changed

+183
-0
lines changed

11 files changed

+183
-0
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
jest.config.js
2+
next.config.js

.eslintrc.js

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
module.exports = {
2+
root: true,
3+
parser: "@typescript-eslint/parser",
4+
plugins: ["@typescript-eslint", "prettier"],
5+
parserOptions: {
6+
project: "./tsconfig.json",
7+
},
8+
env: {
9+
node: true,
10+
},
11+
extends: [
12+
"next/core-web-vitals",
13+
"plugin:@typescript-eslint/recommended",
14+
"airbnb",
15+
"airbnb-typescript",
16+
"plugin:prettier/recommended",
17+
],
18+
rules: {
19+
// 'React' must be in scope when using JSX 에러 지우기(Next.js)
20+
"react/react-in-jsx-scope": "off",
21+
// ts파일에서 tsx구문 허용(Next.js)
22+
"@typescript-eslint/no-use-before-define": "off",
23+
"react/jsx-filename-extension": [1, { extensions: [".ts", ".tsx"] }], // should add ".ts" if typescript project
24+
"no-unused-vars": "off",
25+
"no-param-reassign": "off",
26+
"@typescript-eslint/no-unused-vars": "warn",
27+
"jsx-a11y/click-events-have-key-events": 0,
28+
"jsx-a11y/no-static-element-interactions": 0,
29+
"import/no-cycle": 0,
30+
"react/require-default-props": 0,
31+
"react/jsx-props-no-spreading": 0,
32+
"no-empty-interface": 0,
33+
"import/prefer-default-export": "off",
34+
"jsx-a11y/label-has-associated-control": [
35+
2,
36+
{
37+
labelAttributes: ["htmlFor"],
38+
},
39+
],
40+
"react/no-array-index-key": 0,
41+
"consistent-return": 0,
42+
},
43+
};

.eslintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "next/core-web-vitals"
3+
}

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@j1min

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "Bug"
2+
description: "🤬"
3+
labels: 버그
4+
body:
5+
- type: textarea
6+
attributes:
7+
label: Describe
8+
description: |
9+
버그 설명
10+
placeholder: |
11+
나니모 나캇다
12+
13+
- type: textarea
14+
attributes:
15+
label: Additional
16+
description: |
17+
추가로 할말

.github/ISSUE_TEMPLATE/todo.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "Todo"
2+
description: "할일이 있으신가요? 📗"
3+
body:
4+
- type: textarea
5+
attributes:
6+
label: Describe
7+
description: |
8+
할일에 관한 설명
9+
placeholder: |
10+
그거 제작
11+
12+
- type: textarea
13+
attributes:
14+
label: Work
15+
description: |
16+
[작업내용] 무슨 작업을 하셨나요?
17+
placeholder: |
18+
그거
19+
20+
- type: textarea
21+
attributes:
22+
label: Additional
23+
description: |
24+
추가로 할말?

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## 작업사항
2+
3+
## 변경한 점
4+
5+
## 스크린샷

.github/workflows/lint.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: lint
2+
3+
on:
4+
pull_request:
5+
branches: [master]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
strategy:
12+
matrix:
13+
node-version: [18.x]
14+
env:
15+
NEXT_PUBLIC_SERVER_URL: ${{ secrets.NEXT_PUBLIC_SERVER_URL }}
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Use Node.js ${{ matrix.node-version }}
20+
uses: actions/setup-node@v3
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
cache: yarn
24+
25+
- name: create env file
26+
run: |
27+
touch .env
28+
echo NEXT_PUBLIC_SERVER_URL=${{ secrets.NEXT_PUBLIC_SERVER_URL }} >> .env
29+
30+
- run: yarn
31+
- run: yarn build
32+
- run: yarn lint

.gitignore

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# dependencies
2+
.env
3+
/node_modules
4+
/.pnp
5+
.pnp.js
6+
7+
# testing
8+
/coverage
9+
10+
# next.js
11+
/.next/
12+
/out/
13+
14+
# production
15+
/build
16+
17+
# misc
18+
.DS_Store
19+
*.pem
20+
21+
# debug
22+
npm-debug.log*
23+
yarn-debug.log*
24+
yarn-error.log*
25+
.pnpm-debug.log*
26+
27+
# local env files
28+
.env*.local
29+
30+
# vercel
31+
.vercel
32+
33+
# typescript
34+
*.tsbuildinfo
35+
next-env.d.ts

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Insert
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)