Open vinayakkulkarni opened 2 years ago
:wave: I did some awesome work for the Pelias project and would love for everyone to have a look at it and provide feedback.
Instead of jshint, I added support for prettier & ESLint
prettier
ESLint
Nothing as such, the source code is same but formatting is standardised
npm run lint:eslint
npm run lint:eslint:fix
npm run lint:prettier
npm run lint:prettier:fix
Ref Issue – https://github.com/pelias/pelias/issues/922 Ref PR – https://github.com/pelias/api/pull/1579
:wave: 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 :rocket:
Instead of jshint, I added support for
prettier
&ESLint
Here's what actually got changed :clap:
Nothing as such, the source code is same but formatting is standardised
Here's how others can test the changes :eyes:
npm run lint:eslint
# Checks with ESLintnpm run lint:eslint:fix
# Fixes all issues with ESLintnpm run lint:prettier
# Checks with Prettiernpm run lint:prettier:fix
#Fixes all issues with PrettierRef Issue – https://github.com/pelias/pelias/issues/922 Ref PR – https://github.com/pelias/api/pull/1579