i5ting / koa-generator

Koa' application generator for 1.x and 2.x( Express-style and support all middlewares include async/await )
https://github.com/17koa/koa-generator
MIT License
972 stars 110 forks source link

请问为什么app.js里面的语句都没有;为结尾 #47

Closed horsefaced closed 6 years ago

horsefaced commented 7 years ago

在自动处理成的app.js里, 所有的语句都没有以;为结尾, 这是特别设计的吗?

2017-08-24 16 24 28
i5ting commented 6 years ago

standardjs约定的,默认都没有分号,这也是现在流行的写法

horsefaced commented 6 years ago

谢谢