Skip to content

Commit 8a846d1

Browse files
author
Phil Varner
committed
add remark-gfm plugin to fix issue with false positives on long lines in tables
1 parent b28a87c commit 8a846d1

File tree

3 files changed

+20
-16
lines changed

3 files changed

+20
-16
lines changed

fragments/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ things clean we specify a conformance class for each, so clients can know exactl
1111
conformance class is specified in the relevant folder as an 'extension' to the main capability. But their
1212
semantics are exactly the same, so we put the shared openapi definition in this `fragments` directory.
1313

14-
| Fragment Name | Description |
15-
| ------------------------------------------ | ------------ |
16-
| [Context](context/README.md) | Adds search related metadata (context) to GeoJSON Responses. |
17-
| [Fields](fields/README.md) | Adds parameter to control which fields are returned in the response. |
18-
| [ItemCollection](itemcollection/README.md) | The specification for a set of items, e.g. returned by a search. |
14+
| Fragment Name | Description |
15+
| ------------------------------------------ | -------------------------------------------------------------------------- |
16+
| [Context](context/README.md) | Adds search related metadata (context) to GeoJSON Responses. |
17+
| [Fields](fields/README.md) | Adds parameter to control which fields are returned in the response. |
18+
| [ItemCollection](itemcollection/README.md) | The specification for a set of items, e.g. returned by a search. |
1919
| [Query](query/README.md) | Adds parameter to compare properties and only return the items that match. |
20-
| [Sort](sort/README.md) | Adds Parameter to control sorting of returns results. |
20+
| [Sort](sort/README.md) | Adds Parameter to control sorting of returns results. |

fragments/itemcollection/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ required fields is a valid STAC ItemCollection.
1919

2020
This object describes a STAC ItemCollection. The fields `type` and `features` are inherited from GeoJSON FeatureCollection.
2121

22-
| Field Name | Type | Description |
23-
| --------------- | --------------------------------------- | ----------- |
24-
| type | string | **REQUIRED.** Always "FeatureCollection" to provide compatibility with GeoJSON. |
25-
| features | [STAC Item](../../stac-spec/item-spec/item-spec.md) | **REQUIRED** A possibly-empty array of Item objects. |
26-
| links | [Link Object](../../stac-spec/item-spec/item-spec.md#link-object) | An array of Links related to this ItemCollection. |
22+
| Field Name | Type | Description |
23+
| ---------- | ----------------------------------------------------------------- | ------------------------------------------------------------------------------- |
24+
| type | string | **REQUIRED.** Always "FeatureCollection" to provide compatibility with GeoJSON. |
25+
| features | [STAC Item](../../stac-spec/item-spec/item-spec.md) | **REQUIRED** A possibly-empty array of Item objects. |
26+
| links | [Link Object](../../stac-spec/item-spec/item-spec.md#link-object) | An array of Links related to this ItemCollection. |
2727

2828
## Extensions
2929

package.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"redoc-cli": "^0.13.8",
2828
"remark-cli": "^10.0.1",
2929
"remark-lint": "^9.1.1",
30+
"remark-gfm": "^3.0.1",
3031
"remark-lint-no-html": "^3.1.1",
3132
"remark-preset-lint-consistent": "^5.1.1",
3233
"remark-preset-lint-markdown-style-guide": "^5.1.2",
@@ -35,6 +36,7 @@
3536
},
3637
"remarkConfig": {
3738
"plugins": [
39+
"remark-gfm",
3840
"validate-links",
3941
"remark-preset-lint-consistent",
4042
"remark-preset-lint-markdown-style-guide",
@@ -49,7 +51,7 @@
4951
"remark-lint-no-consecutive-blank-lines",
5052
[
5153
"remark-lint-maximum-line-length",
52-
"150"
54+
150
5355
],
5456
"remark-lint-fenced-code-flag",
5557
"remark-lint-fenced-code-marker",
@@ -63,15 +65,15 @@
6365
"remark-lint-no-heading-punctuation",
6466
[
6567
"remark-lint-maximum-heading-length",
66-
"70"
68+
70
6769
],
6870
[
6971
"remark-lint-heading-style",
7072
"atx"
7173
],
7274
[
7375
"remark-lint-no-shortcut-reference-link",
74-
"false"
76+
false
7577
],
7678
"remark-lint-list-item-bullet-indent",
7779
"remark-lint-ordered-list-marker-style",
@@ -86,7 +88,9 @@
8688
"space"
8789
],
8890
"remark-lint-table-pipes",
89-
"remark-lint-no-literal-urls"
91+
"remark-lint-no-literal-urls",
92+
["remark-lint-no-file-name-irregular-characters", false],
93+
["remark-lint-list-item-spacing", false]
9094
]
9195
}
92-
}
96+
}

0 commit comments

Comments
 (0)