Skip to content

Commit 8e97af0

Browse files
authored
task: update headers (#649)
1 parent 0493c98 commit 8e97af0

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/copilot-instructions.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ These guidelines should be applied only to changes within the following folders:
77

88
Ensure that the changes being reviewed or implemented are within these specified folders. If changes are outside these folders, these guidelines do not apply.
99

10-
11-
12-
## Role and Expertise
10+
### Role and Expertise
1311
When reviewing IPA rule implementations, act as a Node.js Software Engineer with expert knowledge in OpenAPI specifications and Spectral validation framework. Focus on ensuring rules are functional and well-documented.
1412

15-
## Review Checklist
13+
### Review Checklist
1614
When reviewing IPA rule implementations, verify:
1715
- All rules are set at warning level
1816
- Exceptions are properly placed on the given object
@@ -21,7 +19,7 @@ When reviewing IPA rule implementations, verify:
2119
- No redundant JavaScript checks for undefined inputs
2220
- Code follows latest Node.js best practices
2321

24-
## Implementation Guidelines
22+
### Implementation Guidelines
2523
Ensure the rule follows this structure:
2624
- Proper determination of component level for rule processing
2725
- Consistent collection of exceptions, adoptions, and violations at the same component level
@@ -31,9 +29,9 @@ Ensure the rule follows this structure:
3129
- `collectAndReturnViolation(jsonPath, ruleName, errorData)` for violations
3230
- Check #file:tools/spectral/ipa/rulesets/functions/utils/collectionUtils.js for examples
3331

34-
## Context
32+
### Context
3533

3634
Please refer to the example IPA (OpenAPI standard) implementation:
3735
- #file:tools/spectral/ipa/__tests__/IPA102CollectionIdentifierCamelCase.test.js
3836
- #file:tools/spectral/ipa/rulesets/IPA-102.yaml
39-
- #file:/tools/spectral/ipa/rulesets/functions/IPA102CollectionIdentifierCamelCase.js
37+
- #file:/tools/spectral/ipa/rulesets/functions/IPA102CollectionIdentifierCamelCase.js

0 commit comments

Comments
 (0)