我在使用导出的注释来防止使用 eslint 的未使用变量警告时遇到问题。全局注释在我的代码中的其他地方正常工作。
来自 eslint 的警告:
"bootstrap" is defined but never used no-unused-vars
代码:
/* exported bootstrap */
var bootstrap = require('bootstrap');
我在使用导出的注释来防止使用 eslint 的未使用变量警告时遇到问题。全局注释在我的代码中的其他地方正常工作。
来自 eslint 的警告:
"bootstrap" is defined but never used no-unused-vars
代码:
/* exported bootstrap */
var bootstrap = require('bootstrap');