解决eslint报错:ERROR TypeError: Cannot read properties of null (reading 'range')


eslint 检验报错 ERROR  TypeError: Cannot read properties of null (reading 'range')
对.eslintrc文件做如下配置,能解决我的问题
rules : { "indent": ["error", 2, { "ignoredNodes": ["TemplateLiteral"] }] }


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM