From 0293538228c939b6f713c999b7dd93f5b0a3d6b8 Mon Sep 17 00:00:00 2001 From: Lynette Miles Date: Fri, 9 May 2025 08:35:56 -0700 Subject: [PATCH] Vale: removing dashes and turning on test Signed-off-by: Lynette Miles --- pipeline/inputs/nginx.md | 6 ++++-- vale-styles/FluentBit/EnDash.yml | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pipeline/inputs/nginx.md b/pipeline/inputs/nginx.md index 1735e5ef3..f2989575e 100644 --- a/pipeline/inputs/nginx.md +++ b/pipeline/inputs/nginx.md @@ -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 ----|----|----|----| @@ -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 ----|----|----|----| diff --git a/vale-styles/FluentBit/EnDash.yml b/vale-styles/FluentBit/EnDash.yml index e69e4bcbb..b314dc4e9 100644 --- a/vale-styles/FluentBit/EnDash.yml +++ b/vale-styles/FluentBit/EnDash.yml @@ -2,7 +2,7 @@ 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: @@ -10,4 +10,4 @@ action: - '-' - '—' tokens: - - '–' \ No newline at end of file + - '–'