eslint怎么忽略文件夹

vue脚手架搭建的程序git commit报错
vue-cli-service lint found some errors. Please fix them and try committing again.
因为这个js是我引入的,里面报错了不符合我的eslint规范
最简单的方法就是在项目根目录建立一个.eslintignore 把报错路径(我的是/src/assets)直接放进去

Last modification:November 20th, 2019 at 03:40 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment