I am getting this in my terminal:
webpack compiled with 1 error Failed to compile.
[eslint] src\App.js Line 19:1: Delete ⏎
prettier/prettier
Search for the keywords to learn more about each error. ERROR in [eslint] src\App.js Line 19:1: Delete ⏎
prettier/prettier
Search for the keywords to learn more about each error.
Try setting the "endOfLine":"auto"
in your.prettierrc (or.prettierrc.json) file (inside the object) Or set
'prettier/prettier': [
'error',
{
'endOfLine': 'auto',
}
]
inside the rules object of the eslintrc file. If you are using a windows machine endOfLine can be "crlf" basing on your git config.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.