Skip to content

Commit

Permalink
Fixing some missed issues
Browse files Browse the repository at this point in the history
Signed-off-by: xibz <impactbchang@gmail.com>
  • Loading branch information
xibz committed May 14, 2024
1 parent 85686f4 commit d9a44fc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
5 changes: 3 additions & 2 deletions .github/linters/.eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ plugins:
- jsonc
overrides:
- files:
- schemas/*.json
- examples/*.json
- schemas/**/*.json
- examples/**/*.json
- custom/**/*.json
parser: jsonc-eslint-parser
rules:
# These are the set of rules that belong to jsonc. For more information,
Expand Down
11 changes: 1 addition & 10 deletions examples/incident_detected.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
{
"context": {
<<<<<<< HEAD
"version": "0.4.0",
"id": "F4BD2B55-B6F6-4F44-AF72-BD2D0E7A8708",
"chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b",
"source": "/monitoring/prod1",
"type": "dev.cdevents.incident.detected.0.2.0",
"timestamp": "2022-11-11T13:52:20.079Z"
=======
"version": "0.4.0",
"id": "F4BD2B55-B6F6-4F44-AF72-BD2D0E7A8708",
"chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b",
"chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b",
"source": "/monitoring/prod1",
"type": "dev.cdevents.incident.detected.0.2.0",
"timestamp": "2022-11-11T13:52:20.079Z"
>>>>>>> 2816601 (Changes snake cased fields to camel casing)
},
"subject": {
"id": "incident-123",
Expand Down
2 changes: 1 addition & 1 deletion examples/incident_resolved.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"context": {
"version": "0.4.0",
"id": "F4BD2B55-B6F6-4F44-AF72-BD2D0E7A8708",
"chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b",
"chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b",
"source": "/monitoring/prod1",
"type": "dev.cdevents.incident.resolved.0.2.0",
"timestamp": "2022-11-11T13:52:20.079Z"
Expand Down

0 comments on commit d9a44fc

Please sign in to comment.