Skip to content

Commit 1132ad5

Browse files
author
ABaldwinHunter
committed
update formatting. add to TOC
1 parent 50a29dc commit 1132ad5

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

SPEC.md

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ We welcome your participation and appreciate your patience as we finalize the pl
2929
- [Remediation points](#remediation-points)
3030
- [Locations](#locations)
3131
- [Positions](#positions)
32+
- [Other Locations](#other-locations)
3233
- [Contents](#contents)
3334
- [Source code traces](#source-code-traces)
3435
- [Packaging](#packaging)
@@ -266,24 +267,21 @@ line of the file.
266267

267268
Offsets, however are 0-based. A Position of `{ "offset": 4 }` represents the _fifth_ character in the file. Importantly, the `offset` is from the beginning of the file, not the beginning of a line. Newline characters (and all characters) count when computing an offset.
268269

269-
### Other locations
270+
### Other Locations
270271

271-
Other locations is an optional array of location objects
272+
Other locations is an optional array of [Locationi](#locations) objects:
272273

273274
```json
274-
{
275-
"other_locations": [
276-
{
277-
"path": "foo.rb",
278-
"lines": { "begin": 25, "end": 55 }
279-
},
280-
{
281-
"path": "bar.rb",
282-
"lines": { "begin": 20, "end": 50 }
283-
}
284-
]
285-
}
286-
275+
"other_locations": [
276+
{
277+
"path": "foo.rb",
278+
"lines": { "begin": 25, "end": 55 }
279+
},
280+
{
281+
"path": "bar.rb",
282+
"lines": { "begin": 20, "end": 50 }
283+
}
284+
]
287285
```
288286

289287
### Contents

0 commit comments

Comments
 (0)