eslint error cannot read property 'range' of null
eslint error cannot read property 'range' of null
具体报错:
Cannot read property 'range' of null TypeError: Cannot read property 'range' of nullat Array.forEach (<anonymous>)
解决:
在.eslintrc.js文件的rules里加下面代码
// 强制执行一致的缩进样式
rules: {
'template-curly-spacing': 'off',
indent: 'off'
}

浙公网安备 33010602011771号