VUE项目中eslint报错: Expected linebreaks to be ‘LF’ but found ‘CRLF’
由于与原使用的操作系统不一致导致的错误。
- 找到.eslintrc.js文件
- 在rules项添加如下代码
'linebreak-style': [0, 'error', 'window'],
VUE项目中eslint报错: Expected linebreaks to be ‘LF’ but found ‘CRLF’
由于与原使用的操作系统不一致导致的错误。
'linebreak-style': [0, 'error', 'window'],