stylelint ignore
时间: 2023-08-19 17:12:44 浏览: 141
ignore插件需要的可以自取
回答: stylelint的ignore选项可以用来指定哪些文件或文件夹应该被忽略,不进行代码规范检查。在package.json文件中的scripts字段中,可以添加一个ignore命令来指定要忽略的文件或文件夹。例如,可以在scripts字段中添加"stylelintignore": "stylelint --ignore=src/styles/ignored.less",这样stylelint在执行时就会忽略src/styles/ignored.less文件。\[1\]
#### 引用[.reference_title]
- *1* [git commit 提交规范之stylelint规范校验](https://blog.csdn.net/mrhaoxiaojun/article/details/109628039)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [vue cli配置stylelint样式规范](https://blog.csdn.net/weixin_43233914/article/details/125719748)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [使用stylelint规范vue项目](https://blog.csdn.net/chenlijian/article/details/118527393)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文