美文网首页
Cannot read property 'range' of

Cannot read property 'range' of

作者: 章文顺 | 来源:发表于2019-10-31 13:43 被阅读0次

最近配置React Native项目Eslint,在rules中配置"indent": ["error", 2]后,运行 eslint 报错。
解决办法,如下修改:

    "indent": ["error", 2, {
        "ignoredNodes": ["TemplateLiteral"]
    }]

博客迁移新地址:点击前往

大前端知识库收集分享 www.190tech.site 壹玖零Tech
搜罗各种前后端奇淫技巧,花式编程思想,日日更新,速来围观吧...

相关文章

网友评论

      本文标题:Cannot read property 'range' of

      本文链接:https://www.haomeiwen.com/subject/mcftbctx.html