Skip to content

Commit 159ebce

Browse files
author
Colin McNeil
committed
Define functions for eslint fix
1 parent c2eab72 commit 159ebce

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

prompts/eslint_fix/README.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,34 @@
11
---
22
functions:
3-
3+
- name: eslint
4+
type: prompt
5+
ref: github:docker/labs-ai-tools-for-devs?ref=main&path=prompts/eslint
6+
- name: write_files
7+
description: Write a set of files to my project
8+
parameters:
9+
type: object
10+
properties:
11+
files:
12+
type: array
13+
items:
14+
type: object
15+
properties:
16+
path:
17+
type: string
18+
description: the relative path to the file that the script should run in
19+
script:
20+
type: string
21+
description: The script to run in the files.
22+
container:
23+
image: vonwig/apply_script:latest
24+
- name: read_eslint
25+
description: Loads ESLint violations
26+
parameters:
27+
type: object
28+
properties:
29+
output_level:
30+
type: string
31+
description: "`condensed` or `complaints`"
32+
container:
33+
image: vonwig/read_eslint
434
---

0 commit comments

Comments
 (0)