问题描述
我具有以下结构:
components
my_component
tslint.json
tslint.json
root tslint.json
{
"extends": ["...some/tslint.json"],"linterOptions": {
"exclude": [
"components/**/node_modules/**/","components/**/node_modules/*","components/*/node_modules/","node_modules"
]
}
}
组件tslint.json
{
"extends": ["../../tslint.json"],"linterOptions": {
"exclude": [
"node_modules/**"
]
}
}
但是当我运行"lint": "tslint \"components/**/**.ts*\""
时
从根本上,我得到了这些错误:
ERROR: components/my_component/node_modules/react-dropzone/typings/tests/accept.tsx[78,22]: ' should be "
ERROR: components/my_component/node_modules/react-dropzone/typings/tests/accept.tsx[78,36]: ' should be "
...
即使没有本地tslint.json,它也应该可以工作 但是我试图进行覆盖,即使这样做也没有帮助
如何使其工作?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)