ESLint rule for not allowing variable declarations inside a loop?

后端 未结 0 1190
自闭症患者
自闭症患者 2021-02-03 23:54

Are there any published eslint rules for pointing

this as BAD

for (let i = 0; i < 5; i++) {  
    const container = document.getElement         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题