摘要:
错误详情 Unary operator '++' used no-plusplus 当使用++的时候Eslint报错 报错原因 Eslint禁止使用++与--,因为一元运算符会自动插入分号,如果一元运算符前有空格,可能会引发歧义。(但经测试同样情况下没有造成歧义) (详见disallow the u 阅读全文
摘要:
报错详情 error Parsing error: 'import' and 'export' may only appear at the top level 报错代码 webpack.config.js global.document.getElementById('btn').addEvent 阅读全文