Commit 2523897c by caoyanzhi

update: 调整eslint配置

parent 931a0a18
......@@ -161,10 +161,6 @@ module.exports = {
"comma-spacing": 2,
//@off 手动关闭: 冒号后必须加空格
"key-spacing": 2,
// @fixable 结尾禁止使用分号
//@off [vue官方推荐无分号,不知道大家是否可以接受?先手动off掉] 讨论
// "semi": [2,"never"],
semi: 0,
// 代码块嵌套的深度禁止超过 5 层
"max-depth": [1, 20],
// 回调函数嵌套禁止超过 4 层,多了请用 async await 替代
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment