Skip to content

Commit 1588bc3

Browse files
refactor: 💡 function export, add eslint, git cz, config swagger
1 parent 69c71c4 commit 1588bc3

File tree

29 files changed

+2383
-2846
lines changed

29 files changed

+2383
-2846
lines changed

‎.czrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"path": "cz-conventional-changelog"
3+
}

‎.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

‎.eslintrc.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true
5+
},
6+
"extends": ["plugin:prettier/recommended"],
7+
"overrides": [],
8+
"parserOptions": {
9+
"ecmaVersion": "latest",
10+
"sourceType": "module"
11+
},
12+
"rules": {
13+
"prettier/prettier": ["warn"],
14+
"no-unused-vars": "warn"
15+
}
16+
}

‎.prettierrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"arrowParens": "always",
33
"trailingComma": "none",
4-
"tabWidth": 4,
4+
"tabWidth": 2,
55
"printWidth": 80,
66
"semi": true,
77
"doubleQuote": true,

‎gitcz.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## Git CZ Usage
2+
3+
#### 1. Git add
4+
5+
```bash
6+
$ git add .
7+
8+
or
9+
10+
$ git add <filename>
11+
```
12+
13+
#### 2. Git commit
14+
15+
```bash
16+
$ git cz
17+
```
18+
19+
#### 3. Git push
20+
21+
```bash
22+
$ git push origin <branch-name>
23+
```

0 commit comments

Comments
 (0)