You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,10 @@ These guidelines should be applied only to changes within the following folders:
7
7
8
8
Ensure that the changes being reviewed or implemented are within these specified folders. If changes are outside these folders, these guidelines do not apply.
9
9
10
-
11
-
12
-
## Role and Expertise
10
+
### Role and Expertise
13
11
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.
14
12
15
-
## Review Checklist
13
+
###Review Checklist
16
14
When reviewing IPA rule implementations, verify:
17
15
- All rules are set at warning level
18
16
- Exceptions are properly placed on the given object
@@ -21,7 +19,7 @@ When reviewing IPA rule implementations, verify:
21
19
- No redundant JavaScript checks for undefined inputs
22
20
- Code follows latest Node.js best practices
23
21
24
-
## Implementation Guidelines
22
+
###Implementation Guidelines
25
23
Ensure the rule follows this structure:
26
24
- Proper determination of component level for rule processing
27
25
- Consistent collection of exceptions, adoptions, and violations at the same component level
@@ -31,9 +29,9 @@ Ensure the rule follows this structure:
31
29
-`collectAndReturnViolation(jsonPath, ruleName, errorData)` for violations
32
30
- Check #file:tools/spectral/ipa/rulesets/functions/utils/collectionUtils.js for examples
33
31
34
-
## Context
32
+
###Context
35
33
36
34
Please refer to the example IPA (OpenAPI standard) implementation:
0 commit comments