mirror of
https://github.com/Anduin2017/HowToCook.git
synced 2026-01-11 22:24:56 +08:00
挂勺是中餐烹饪术语,表示酱汁浓稠到可以挂在勺子上的状态。 这是一个描述烹饪状态的词,而非计量单位,应该被允许使用。 Fixes Anduin2017/HowToCook#1689
This commit is contained in:
2
.github/manual_lint.js
vendored
2
.github/manual_lint.js
vendored
@@ -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('杯子')) {
|
||||
|
||||
Reference in New Issue
Block a user