Skip to content

Commit 3e433e4

Browse files
authored
feat: add prettier
1 parent 43f4dbb commit 3e433e4

13 files changed

+2984
-1235
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@
66

77
# misc
88
.DS_Store
9-
109
npm-debug.log*

.husky/pre-commit

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx lint-staged

.prettierignore

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

.prettierrc.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
printWidth: 80
2+
tabWidth: 2
3+
useTabs: false
4+
semi: false
5+
singleQuote: true
6+
trailingComma: all
7+
arrowParens: avoid

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# GitHub Comment as CLI
1+
# GitHub Comment as CLI
22

33
![](https://i.postimg.cc/d3J04RhN/ezgif-1-b81d321f5a.gif)
44

5-
This project is to turn GitHub Comment to as CLI with auto suggestion/completion features. Some people uses GitHub comment to run customized GitHub Action.
5+
This project is to turn GitHub Comment to as CLI with auto suggestion/completion features. Some people uses GitHub comment to run customized GitHub Action.
66

7-
For example, if you want to run the proposed machine learning model, you can say `!train --infra jarvislabs --gpu_type A100 --gpu_num 8 --set-dataset cifar10`.
7+
For example, if you want to run the proposed machine learning model, you can say `!train --infra jarvislabs --gpu_type A100 --gpu_num 8 --set-dataset cifar10`.
88

99
## How to use
1010

11-
We will deliver `ghc-cli` chrome extension shortly. Then all you need to do is to create `ghc-auto-completion.txt` under root directory of your repository. The chrome extension will find/read the file from the current directory, and try to interfere your interactions within GitHub comments.
11+
We will deliver `ghc-cli` chrome extension shortly. Then all you need to do is to create `ghc-auto-completion.txt` under root directory of your repository. The chrome extension will find/read the file from the current directory, and try to interfere your interactions within GitHub comments.
1212

13-
### Basic structure of TXT
13+
### Basic structure of TXT
1414

1515
```
1616
run exp --infra=jarvislabs --gpu_type=a100 --gpu_num=4
@@ -28,4 +28,4 @@ run deploy --infra=aks
2828

2929
## How to contribute
3030

31-
This project is TypeScript based, and it is structured from scratch. You only need `npm` to get started.
31+
This project is TypeScript based, and it is structured from scratch. You only need `npm` to get started.

0 commit comments

Comments
 (0)