From 0e5d0b6ea82ab6fff0728f0673a59d882aa9464a Mon Sep 17 00:00:00 2001 From: sunblack110 Date: Tue, 6 Jan 2026 01:01:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B0=86=E6=8C=82=E5=8B=BA=E5=8A=A0?= =?UTF-8?q?=E5=85=A5=E5=8B=BA=E5=AD=90=E7=94=A8=E6=B3=95=E7=99=BD=E5=90=8D?= =?UTF-8?q?=E5=8D=95=EF=BC=8C=E4=BF=AE=E5=A4=8D=20issue=20#1689=20(#1725)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 挂勺是中餐烹饪术语,表示酱汁浓稠到可以挂在勺子上的状态。 这是一个描述烹饪状态的词,而非计量单位,应该被允许使用。 Fixes Anduin2017/HowToCook#1689 --- .github/manual_lint.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/manual_lint.js b/.github/manual_lint.js index b6dd177c..af0a963c 100644 --- a/.github/manual_lint.js +++ b/.github/manual_lint.js @@ -99,7 +99,7 @@ const validators = [ async (filePath, lines, errors) => { const count = keyword => lines.filter(l => l.includes(keyword)).length; - if (count('勺') > count('勺子') + count('炒勺') + count('漏勺') + count('吧勺')) { + if (count('勺') > count('勺子') + count('炒勺') + count('漏勺') + count('吧勺') + count('挂勺')) { errors.push(`文件 ${filePath} 不符合仓库的规范!勺 不是一个精准的单位!`); } if (count(' 杯') > count('杯子')) {