🇨🇳A translation of ESLint Documents, including configration and rules.
Home Page:http://eslint.org/docs
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
kuitos opened this issue 8 years ago · comments
删除
"padded-blocks": [2, "never"]
正常来说每个方法块首尾应该有空行提升可读性(每个逻辑区块都应该以空格分隔),但是这里没有"as need"配置,所以暂时删除。 修改
"no-multiple-empty-lines": [2, { "max": 2}],
有些大逻辑区块需要用2个空行区分,但是2个是极限不能再多了。