Skip to content

Commit 32c4ac3

Browse files
committed
cs(yaml): fix context files
1 parent 2103156 commit 32c4ac3

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

context.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$schema: 'https://raw.githubusercontent.com/context-hub/generator/refs/heads/main/json-schema.json'
44

55
import:
6-
- path: resources/prompts.yaml
6+
- path: resources/prompts.yaml
77

88
documents:
99
# Project structure overview
@@ -15,21 +15,21 @@ documents:
1515
content: |
1616
The PSR-4 is used in the project.
1717
- type: tree
18-
sourcePaths: ['src']
18+
sourcePaths: [ 'src' ]
1919
showCharCount: true
2020
showSize: true
2121
- type: file
22-
sourcePaths: ['README.md']
22+
sourcePaths: [ 'README.md' ]
2323

2424
# Modules API
2525
- description: 'Modules API allowed to be used in the project'
2626
outputPath: modules-api.md
2727
overwrite: true
2828
sources:
2929
- type: file
30-
sourcePaths: ['src/Module', 'src/Service']
30+
sourcePaths: [ 'src/Module', 'src/Service' ]
3131
filePattern: '*.php'
32-
excludePatterns: ['/Internal/']
32+
excludePatterns: [ '/Internal/' ]
3333
modifiers:
3434
- name: php-content-filter
3535
options:
@@ -48,6 +48,6 @@ documents:
4848
There are all the guidelines about how to do some things in the project.
4949
Feel free to load any related guideline to the current context to make the work more efficient.
5050
- type: tree
51-
sourcePaths: ['docs/guidelines']
51+
sourcePaths: 'docs/guidelines'
5252
showCharCount: true
5353
showSize: true

resources/prompts.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
---
2+
13
$schema: 'https://raw.githubusercontent.com/context-hub/generator/refs/heads/main/json-schema.json'
24

35
import:

resources/prompts/cover-class-by-docs.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
---
2+
13
$schema: 'https://raw.githubusercontent.com/context-hub/generator/refs/heads/main/json-schema.json'
24

35
prompts:

0 commit comments

Comments
 (0)