salomonelli / best-resume-ever

:necktie: :briefcase: Build fast :rocket: and easy multiple beautiful resumes and create your best CV ever! Made with Vue and LESS.
https://salomonelli.github.io/best-resume-ever
MIT License
16.34k stars 2.28k forks source link

A supplement on docs about running the project on vscode #420

Closed ycp8023 closed 1 year ago

ycp8023 commented 2 years ago

A suggestion on docs about running the project

I try to follow the instructions to run the project on vscode but get the error: (linebreak-style) Expected linebreaks to be ‘CRLF‘ but found ‘LF‘ linebreak-style. Then i find out the reason is using vscode to run this project. So i think maybe announce this situation in docs maybe helpful for windows users and people not familar with project . And the solution is very simple, only one line code can solve the problem

Solution

edit the file .eslintrc and change the attribute linebreak-style in rules as follow: "rules": { "linebreak-style": [0,"error", "windows"], } Then you can run npm run dev successfully.

pubkey commented 1 year ago

This is an open source project, please make a PR with a fix.