[英]Extend global config, jshint
Is there a way to extend global jshint config with local, and not fully override it? 有没有办法用局部扩展全局jshint配置,而不是完全覆盖它? My global config is in User folder .
我的全局配置位于“用户”文件夹中 。
Like 喜欢
{
"extends": "~/.jshintrc",
"node": true
}
But it doesn't work. 但这是行不通的。
I also want to used the tilde but couldn't find a good way of doing this, the best solution is to use your home path explicitly 我也想使用波浪号,但是找不到一个很好的方法,最好的解决方案是显式使用本地路径
{
"extends": "Users/<user-name>/.jshintrc"
}
Hope it helps 希望能帮助到你
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.