Open ghost opened 7 years ago
Open package.json
, added following rules under rules line:
"rules": {
"linebreak-style": 0,
"global-require": 0,
...
for VScode users: click the option at the bottom-right of the window and set it to LF
from CRLF
errors will fixed for me
En Windows se debe configurar el ESLint para que los saltos de línea sean del tipo CRLF:
Se debe modificar el archivo: .eslintrc.json
Desde Notepad++ se pueden reemplazar "\n" por "\r\n" Replacing CRLF with LF using Notepad++ http://sqlblog.com/blogs/jamie_thomson/archive/2012/08/07/replacing-crlf-with-lf-using-notepad.aspx
Fuente: http://eslint.org/docs/rules/linebreak-style