Skip to content

Commit 8c1d535

Browse files
author
liuyi
committed
feat: eslint and README
1 parent 76511dd commit 8c1d535

File tree

4 files changed

+1337
-27
lines changed

4 files changed

+1337
-27
lines changed

.eslintrc.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "next"
3+
}

README.md

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# UED landing
2+
3+
4+
## Get Start
5+
6+
- 1、static page
7+
8+
``` bash
9+
npm run dev
10+
```
11+
12+
- 2、dev node server
13+
14+
``` bash
15+
npm run dev:node
16+
```
17+
18+
- 3、lint
19+
20+
``` bash
21+
npm run lint
22+
```
23+
24+
25+
## Deploy
26+
27+
``` bash
28+
npm run build
29+
npm run deploy
30+
```

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
"@types/react": "^18.0.15",
3333
"commitizen": "^4.2.4",
3434
"cz-conventional-changelog": "^3.3.0",
35+
"eslint": "^8.21.0",
36+
"eslint-config-next": "12.2.3",
3537
"sass": "^1.53.0"
3638
},
3739
"config": {

0 commit comments

Comments
 (0)