Skip to content

Commit ea29768

Browse files
committed
chore
0 parents  commit ea29768

30 files changed

+6770
-0
lines changed

.babelrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"presets": [
3+
"@babel/preset-react",
4+
"@babel/preset-typescript",
5+
"@babel/preset-env"
6+
]
7+
}

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
#editorconfig.org
3+
root = true
4+
5+
[*]
6+
indent_style = space
7+
indent_size = 2
8+
end_of_line = lf
9+
charset = utf-8
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
API_BASE_URL=http://localhost:9000

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dist/
2+
coverage/

.eslintrc

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"extends": [
3+
"eslint:recommended",
4+
"plugin:@typescript-eslint/recommended",
5+
"plugin:react/recommended",
6+
"plugin:react-hooks/recommended"
7+
],
8+
"parser": "@typescript-eslint/parser",
9+
"settings": {
10+
"react": {
11+
"version": "detect"
12+
}
13+
},
14+
"env": {
15+
"browser": true,
16+
"node": true,
17+
"jest": true
18+
},
19+
"rules": {
20+
"react/react-in-jsx-scope": "off",
21+
"react/display-name": "off",
22+
"no-useless-escape": "off"
23+
}
24+
}

.github/workflows/vercel.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Vercel
2+
on: [push, pull_request]
3+
jobs:
4+
deploy:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- uses: amondnet/vercel-action@v20
9+
with:
10+
vercel-args: '--prod'
11+
vercel-token: ${{ secrets.VERCEL_TOKEN }}
12+
vercel-org-id: ${{ secrets.VERCEL_ORG_ID}}
13+
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID}}

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
/dist
3+
/coverage
4+
.env
5+
*.log

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install lint-staged --allow-empty

.husky/pre-push

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
#yarn test

.lintstagedrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"*.{ts,tsx}": ["eslint --fix", "prettier --write"]
3+
}

0 commit comments

Comments
 (0)