Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: use ESLint & Prettier instead of jshint #1593

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

vinayakkulkarni
Copy link

@vinayakkulkarni vinayakkulkarni commented Jan 4, 2022

👋 I did some awesome work for the Pelias project and would love for everyone to have a look at it and provide feedback.


Here's the reason for this change 🚀

Instead of jshint, I added support for prettier & ESLint


Here's what actually got changed 👏

Nothing as such, the source code is same but formatting is standardised


Here's how others can test the changes 👀

  • npm run lint:eslint # Checks with ESLint
  • npm run lint:eslint:fix # Fixes all issues with ESLint
  • npm run lint:prettier # Checks with Prettier
  • npm run lint:prettier:fix #Fixes all issues with Prettier

Ref Issue – pelias/pelias#922
Ref PR – #1579

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant