1
我有一个问题,使用导出的注释来防止使用eslint的未使用的变量警告。全球评论在我的代码中的其他地方正常工作。Eslint导出的评论不适用于我
从eslint警告:
"bootstrap" is defined but never used no-unused-vars
代码:
/* exported bootstrap */
var bootstrap = require('bootstrap');
此处的信息可能有所帮助:https://github.com/eslint/eslint/issues/3833 – Gyandeep