有没有办法在脚本输出的底部打印来自 JS lint 脚本的错误?
Is there a way to print errors from the JS lint script at the bottom of the script's output?
例如,我希望在控制台中记录此日志后打印 1 个错误,而不必滚动浏览所有警告来发现它。
Output log of npm run lint
运行 带有 —-quiet
标志的 eslint 只会输出错误
例如,我希望在控制台中记录此日志后打印 1 个错误,而不必滚动浏览所有警告来发现它。
Output log of npm run lint
运行 带有 —-quiet
标志的 eslint 只会输出错误