BUUPE / BUUPE.github.io

Official website of Upsilon Pi Epsilon at Boston University
https://upe.bu.edu/
MIT License
2 stars 3 forks source link

Eslint configuration #95

Closed tiago154 closed 4 years ago

tiago154 commented 4 years ago

89

Hi. I added eslint and put some rules according to the project.

So to validate the errors, run npm run lint

There is also (npm run lint:fix), where it is possible to apply corrections automatically.

ROODAY commented 4 years ago

@tiago154 Thanks for the PR! One request though, can you resubmit this using yarn? We don't want to have both a package-lock and a yarn-lock file. Thanks!

tiago154 commented 4 years ago

@tiago154 Thanks for the PR! One request though, can you resubmit this using yarn? We don't want to have both a package-lock and a yarn-lock file. Thanks!

@ROODAY Of course! I removed the package-lock.json and updated the yarn.lock