Skip to content

Commit c96b784

Browse files
authored
Merge pull request #1642 from fluent/lynettemiles/sc-135466/set-headingpunctuation-vale-test-to-error
2 parents feff61e + f258445 commit c96b784

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CONTRIBUTING.md

+1
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
- [LyHyphens](https://developers.google.com/style/hyphens)
136137
- [NonStandardQuotes](https://github.com/fluent/fluent-bit-docs/blob/master/vale-styles/FluentBit/NonStandardQuotes.yml):
137138
[Use standard quotes](https://developers.google.com/style/quotation-marks#straight-and-curly-quotation-marks).

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

+1-1
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

+2-2
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)