Skip to content

Commit 71d5669

Browse files
committed
lint 勺
1 parent c88dd81 commit 71d5669

File tree

16 files changed

+54
-50
lines changed

16 files changed

+54
-50
lines changed

.github/manual_lint.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ async function main() {
1616
titles = dataLines.filter(t => t.startsWith('#'));
1717
secondTitles = titles.filter(t => t.startsWith('## '));
1818

19+
if (dataLines.filter(line => line.includes(' 勺')).length > 0) {
20+
errors.push(`File ${filePath} is invalid! 勺 is not an accurate unit!`);
21+
}
22+
// if (dataLines.filter(line => line.includes('适量')).length > 0) {
23+
// errors.push(`File ${filePath} is invalid! 适量 is not an accurate unit!`);
24+
// }
25+
// if (dataLines.filter(line => line.includes('左右')).length > 0) {
26+
// errors.push(`File ${filePath} is invalid! 左右 is not an accurate unit!`);
27+
// }
1928
if (titles[0].trim() != "# " + filename + "的做法") {
2029
errors.push(`File ${filePath} is invalid! It's title should be: ${"# " + filename + "的做法"}! It was ${titles[0].trim()}!`);
2130
continue;

dishes/aquatic/清蒸生蚝.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,11 @@
2222

2323
* 将生蚝用刷子刷干净(没有刷子用牙刷)。
2424
* 蒸锅中放水,将蒸屉放上之后,将 6 个生蚝平铺在蒸屉,使用 50%功率,蒸 3 分钟。
25-
* 用右手拿着湿抹布掀开烫锅盖,将每个生蚝的外壳掀开一半去掉,生蚝的凸面向下,平面向上,每个放 1 根姜丝,2 勺蒜末放到生蚝上
25+
* 用右手拿着湿抹布掀开烫锅盖,将每个生蚝的外壳掀开一半去掉,生蚝的凸面向下,平面向上,每个放 1 根姜丝,10g 蒜末放到生蚝上
2626
* 关上烫锅盖,100%功率蒸 3.5 分钟。
27-
* 停火,用右手拿着抹布掀开烫锅盖,每个放 1 勺酱油
27+
* 停火,用右手拿着抹布掀开烫锅盖,每个放 5ml 酱油
2828
* 盛盘。
2929

3030
## 附加内容
3131

32-
* 勺子为日常调料品附带的勺子
33-
3432
如果您遵循本指南的制作流程而发现有问题或可以改进的流程,请提出 Issue 或 Pull request 。

dishes/aquatic/红烧鲤鱼.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@
3535
- 放入干辣椒、葱、姜、蒜瓣,翻炒 1 分钟。
3636
- 将炸好的鱼倒入锅中。
3737
- 沿锅边倒入
38-
- 50ml 料酒(炒菜勺半勺)
39-
- 50ml 陈醋(炒菜勺半勺)
40-
- 50ml 味极鲜(炒菜勺半勺)
38+
- 50ml 料酒
39+
- 50ml 陈醋
40+
- 50ml 味极鲜
4141
- 20ml 老抽调色
4242
- 5ml 蚝油提鲜
4343
- 5g 匙盐
44-
- 50g 白糖(炒菜勺 2/3 勺)
44+
- 50g 白糖
4545
- 清水没过鱼面。
4646
- 调至中火,将水烧开。
4747
- 调至小火,慢焖入味。

dishes/meat_dish/回锅肉.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
- 生姜 10-40g
2020
- 青红椒适量(根据受辣程度选择, 0-30g)
2121
- 蒜苗 1 把
22-
- 料酒 1 勺 (5ml)
23-
- 豆瓣酱 2 勺 (10ml)
24-
- 味精 1 勺 (5ml)
25-
- 生抽 1 勺 (5ml)
22+
- 料酒 5ml
23+
- 豆瓣酱 10ml
24+
- 味精 5g
25+
- 生抽 5ml
2626

2727
## 操作
2828

dishes/meat_dish/尖椒炒牛肉.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
* 牛肉用量为 250 g/人
1515
* 葱的用量为 0.5 根/人
1616
* 姜的用量为 1 个/人
17-
* 盐的用量为 3 g/人(1 勺)
18-
* 糖的用量为 1.5 g/人(0.5 勺)
19-
* 酱油的用量为 9 g/人(3 勺)
17+
* 盐的用量为 3 g/人
18+
* 糖的用量为 1.5 g/人
19+
* 酱油的用量为 9 ml/人
2020

2121
使用上述条件,计算出计划使用的原材料比例。
2222

@@ -47,6 +47,6 @@
4747
## 附加内容
4848

4949
* 腌制可以加入小苏打使牛肉变嫩,牛肉苏打比例为 500g:3g。
50-
* 腌制的时候姜片可用料酒代替,料酒的用量为 3 g/人(1 勺)
50+
* 腌制的时候姜片可用料酒代替,料酒的用量为 3 g/人
5151

5252
如果您遵循本指南的制作流程而发现有问题或可以改进的流程,请提出 Issue 或 Pull request 。

dishes/meat_dish/水煮肉片.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
- 红泡椒 20g(根据受辣程度选择 0-40 g)
3737
- 蒜苗 2 根
3838
- 芹菜 3 根
39-
- 红油瓣酱 1 勺
39+
- 红油瓣酱 5ml
4040
- 鸡精 1.5g
4141
- 生抽酱油 5g
4242
- 食用盐 5g

dishes/meat_dish/红烧肉/南派红烧肉.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## 必备原料和工具
66

77
* 注:如果有可能,请尽量把刀磨的锋利一些。
8-
* 工具:``(砂锅为宜,铝锅其次,高压锅也可以,最好不要铁锅、铜锅)````
8+
* 工具:``(砂锅为宜,铝锅其次,高压锅也可以,最好不要铁锅、铜锅)
99
* 主料:`五花肉`
1010
* 辅料:```冰糖``老抽``料酒``香叶``八角``生姜``````开水``凉水````花椒`
1111

@@ -18,8 +18,8 @@
1818
- 姜: 6 片
1919
- 冰糖:约 15 块
2020
- 白砂糖:30g
21-
- 老抽:3 勺
22-
- 料酒:4 勺
21+
- 老抽:15ml
22+
- 料酒:20ml
2323
- 凉水:没过食材的量即可,看锅大小准备
2424
- 开水:没过食材的量即可,看锅大小准备
2525
- 香叶:4 片
@@ -42,7 +42,7 @@
4242
-[糖色](./../../condiment/糖色.md),注意采用其中提到的操作 2 来制作糖色。
4343
- 将准备好的`生姜、葱白、蒜、花椒、八角、香叶`还有`五花肉`倒入锅中`大火`翻炒,期间加入至闻到香味,倒入开水至没过全部肉炖煮 50 分钟-60 分钟
4444
- 高压锅的话 40 分钟;
45-
- 加入 2 勺料酒
45+
- 加入 10ml 料酒
4646
- 盖上锅盖煮至沸腾后,每隔 25 分钟打开盖子将浮在表面的油和沫捞出;
4747
- 当水的高度减至肉最高的高度与锅底高度的 3/5 时,转中火,并捞出除肉和水以外的所有辅料,开始收汁;
4848
- 打开锅盖,待汤汁快没有的时粘稠状出锅(切记不可收干);

dishes/meat_dish/红烧肉/简易红烧肉.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
- 猪五花肉:约 3~4 斤
2020
- 姜: 6 片
2121
- 冰糖:15 克(约 7 块)
22-
- 生抽:2 勺
23-
- 老抽:3 勺
24-
- 料酒:1 勺
22+
- 生抽:10ml
23+
- 老抽:15ml
24+
- 料酒:5ml
2525
- 开水:没过食材的量,需要 600ml-900ml
2626
- 香叶:3 片
2727
- 八角:2 个
@@ -47,9 +47,9 @@
4747
- 开中小火后直接加入`五花肉`,不需要放入食用油,每块`五花肉`六个面都煎一下,煎至出油即可
4848
- 将煎出的油倒出备用,并将`五花肉`推至一边,加入 15g `冰糖`,翻炒至`冰糖`融化;
4949
- 融化后将五花肉与冰糖炒至融合上色,加入
50-
- `生抽` 2 勺
51-
- `老抽` 3 勺
52-
- `料酒` 1 勺
50+
- `生抽` 10ml
51+
- `老抽` 15ml
52+
- `料酒` 5ml
5353
- 翻炒至上色;
5454
- 加入`烧好的开水`炖煮 40 分钟(刀工差的同学切的过大请自觉延长炖煮时间),并放入
5555
- `生姜` 2 片

dishes/meat_dish/萝卜炖羊排.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
- 花椒 10 粒左右
2727
- 姜 10g 左右,一般买一头姜,从中切大约 4 片左右即可
2828
- 料酒或者黄酒 30ml-40ml
29-
- 食用盐 10g 左右,大约小勺 3 勺
29+
- 食用盐 10g
3030
- 冰糖 2-4 粒
3131
- 水:没过食材的量,需要 1000ml
3232

dishes/meat_dish/酱牛肉/酱牛肉.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@
2828
- 香叶 1 片
2929
- 姜 3 片
3030
- 葱半根
31-
- 老抽 3 勺
31+
- 老抽 15ml
3232
- 桂皮 1 块
3333
- 冰糖 7-8 粒
3434
- 花椒 15 粒
35-
- 料酒 6 勺
36-
- 生抽 3 勺
35+
- 料酒 30ml
36+
- 生抽 15ml
3737
- 盐 8 克
3838
- 八角 4 个
39-
- 黄豆酱 3 勺
39+
- 黄豆酱 15ml
4040

4141
## 操作
4242

0 commit comments

Comments
 (0)