【发布时间】:2020-02-17 16:53:34
【问题描述】:
我正在寻找将以下标记为错误的规则:
const setStuff = () => { setThing(2); setOtherThing(3); };
我想在正文中有多个语句时进行换行,所以这应该是正确的:
const setStuff = () => {
setThing(2);
setOtherThing(3);
};
哪些规则适用于此?我似乎找不到一个。我确实想继续允许一个班轮退货(例如const get = () => 3)
【问题讨论】: