From 51aa451f9e22744bf10a0b66ee2b8cd054e79eb3 Mon Sep 17 00:00:00 2001 From: Masaya Suzuki <15100604+massongit@users.noreply.github.com> Date: Thu, 27 Jun 2024 14:27:48 +0900 Subject: [PATCH] fix: Allow YAML file names (#77) --- terms.jsonc | 2 +- test.js | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/terms.jsonc b/terms.jsonc index 17381c4..3ccc6b8 100644 --- a/terms.jsonc +++ b/terms.jsonc @@ -125,7 +125,7 @@ "SSH", ["wi[- ]?fi", "Wi-Fi"], "XML", - "YAML", + ["(? YAML + text: 'yaml files', + output: 'YAML files', + errors: [ + { + message: 'Incorrect usage of the term: “yaml”, use “YAML” instead', + }, + ], + }, ], });