Skip to content

Commit 8825b1a

Browse files
author
Colin McNeil
committed
Update git and eslint
1 parent f5e0e76 commit 8825b1a

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

functions/git/README.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,5 @@ Git project information
2828
## Running the tool
2929

3030
```sh
31-
DIR=$PWD
32-
docker run --rm -it \
33-
-v /var/run/docker.sock:/var/run/docker.sock \
34-
--mount type=volume,source=docker-prompts,target=/prompts \
35-
--mount type=bind,source=$HOME/.openai-api-key,target=/root/.openai-api-key \
36-
--mount type=bind,source=/Users/colinmcneil/Dev/labs-ai-tools-for-devs/prompts,target=/my-prompts \
37-
--workdir /my-prompts \
38-
vonwig/prompts:latest run \
39-
$DIR \
40-
$USER \
41-
"$(uname -o)" \
42-
git_branches
31+
docker build . -t vonwig/git:local
4332
```

prompts/eslint/010_system_prompt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ If there are no ESLint configuration files found, use StandardJS to lint the pro
99

1010
## Linter Args
1111
When using StandardJS, use typescript arg only if tsconfigs are reported.
12-
If there is an ESLint config, lint the project using the right version of ESLint.
12+
If there is an ESLint config, lint the project using the right version of ESLint. Use a glob for `.ts`, `.js`, `.tsx`, and `.jsx`
1313

1414
## Lint Steps
1515

0 commit comments

Comments
 (0)