Graph-Visualization / graph-api

Backend containing all the algorithms of graphs
http://graph-apiv1.herokuapp.com
3 stars 8 forks source link

Added ESLint and Prettier GitHub Actions #15

Closed iamrajiv closed 3 years ago

iamrajiv commented 3 years ago

Fixes: #14

yashrsharma44 commented 3 years ago

Could you also add in instructions in a new CONTRIBUTING.md file explaining the instructions how to configure the linter/prettier in the local computer? That would be helpful for contributors to use them locally, and have passing tests in the CI.

yashrsharma44 commented 3 years ago

Did you add in the eslint in the package.json? That way, it would be automatically installed, rather than asking users to install them. Same for prettier.

More info - https://stackoverflow.com/questions/36307581/how-to-configure-package-json-to-run-eslint-script

Biswajitghosh98 commented 3 years ago

@yashrsharma44 LGTM. Great work @iamrajiv !