Skip to content

Vale: removing dashes and turning on test #1636

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions pipeline/inputs/nginx.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ Name | Type | Description | Labels

#### [HTTP Upstreams](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_http_upstream)

> Note: for the `state` metric, the string values are converted to float64 using the following rule: `"up"` -> `1.0`, `"draining"` -> `2.0`, `"down"` -> `3.0`, `"unavail"` –> `4.0`, `"checking"` –> `5.0`, `"unhealthy"` -> `6.0`.
> Note: for the `state` metric, the string values are converted to float64 using the following rule: `"up"` = `1.0`, `"draining"` = `2.0`, `"down"` = `3.0`, `"unavail"` = `4.0`, `"checking"` = `5.0`, `"unhealthy"` = `6.0`.

Name | Type | Description | Labels
----|----|----|----|
Expand All @@ -216,7 +216,9 @@ Name | Type | Description | Labels

#### [Stream Upstreams](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_stream_upstream)

> Note: for the `state` metric, the string values are converted to float64 using the following rule: `"up"` -> `1.0`, `"down"` -> `3.0`, `"unavail"` –> `4.0`, `"checking"` –> `5.0`, `"unhealthy"` -> `6.0`.
> Note: for the `state` metric, the string values are converted to float64 using the
> following rule: `"up"` = `1.0`, `"down"` = `3.0`, `"unavail"` = `4.0`,
> `"checking"` = `5.0`, `"unhealthy"` = `6.0`.

Name | Type | Description | Labels
----|----|----|----|
Expand Down
4 changes: 2 additions & 2 deletions vale-styles/FluentBit/EnDash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ extends: existence
message: "Use an em dash ('—') instead of '–'."
link: 'https://developers.google.com/style/dashes'
nonword: true
level: suggestion
level: error
action:
name: edit
params:
- replace
- '-'
- '—'
tokens:
- '–'
- '–'