Skip to content

Commit 8ec7ed1

Browse files
committed
Vale: Add HeadingPunctuation test to error
Signed-off-by: Lynette Miles <lynette.miles@chronosphere.io>
1 parent 782579f commit 8ec7ed1

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ The following tests are at a `error` level and will prevent merging:
132132
- [Emdash](https://github.com/errata-ai/Google/blob/master/Google/EmDash.yml)
133133
- [Endash](https://github.com/errata-ai/Google/blob/master/Google/EmDash.yml)
134134
- [Exclamation](https://github.com/errata-ai/Google/blob/master/Google/Exclamation.yml)
135+
- [HeadingPunctuation](https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings)
135136
- [NonStandardQuotes](https://github.com/fluent/fluent-bit-docs/blob/master/vale-styles/FluentBit/NonStandardQuotes.yml):
136137
[Use standard quotes](https://developers.google.com/style/quotation-marks#straight-and-curly-quotation-marks).
137138
By default, Google Docs and Microsoft Word turn standard straight quotes into "smart"

administration/configuring-fluent-bit/yaml/configuration-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ This functionality is only exposed in YAML configuration and not in classic conf
240240
241241
[Processor example](configuration-file.md#example-using-processors)
242242
243-
### Example: Using processors.
243+
### Example: Using processors
244244
245245
The following configuration file example demonstrates the use of processors to change the log record in the input plugin section by adding a new key "hostname" with the value "monox", and we use lua to append the tag to the log record. Also in the ouput plugin section we added a new key named "output" with the value "new data". All these without the need of routing the logs further in the pipeline.
246246

vale-styles/FluentBit/HeadingPunctuation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ extends: existence
22
message: "Don't put a period at the end of a heading."
33
link: 'https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings'
44
nonword: true
5-
level: suggestion
5+
level: error
66
scope: heading
77
action:
88
name: edit
99
params:
1010
- remove
1111
- '.'
1212
tokens:
13-
- '[a-z0-9][.]\s*$'
13+
- '[a-z0-9][.]\s*$'

0 commit comments

Comments
 (0)