Versent / redux-crud

A set of standard actions and reducers for Redux CRUD Applications
MIT License
624 stars 54 forks source link

Clean code base #61

Open hwaterke opened 7 years ago

hwaterke commented 7 years ago

Hey,

This is probably a bit of a strange request but while working on my last PR on this project a few things triggered my OCD.

For example:

It is not crucial but would you welcome a PR for this ? :P Have you ever considered using prettier to format the code in a consistent way?

I was also wondering why you commit the build on Github? (dist folder)

Let me know what you think!

H.

sporto commented 7 years ago

Sure, it will would be great to have a PR to clean the code.

hwaterke commented 7 years ago

Alright cool, I'm gonna start working on it then.

To elaborate a bit on your points:

sporto commented 7 years ago

Cool. Yes to all.

Re prettier, I'm happy to use it as consistent formatting is quite important and removes discussions about it.

The workflow around dist would be great to have. Agree that PRs are terribly noisy because of this.

Thanks

hwaterke commented 7 years ago

I just submitted https://github.com/Versent/redux-crud/pull/62 as a first step. The whole code went through prettier. I'll wait for this to be merged before moving on the the next step in order to avoid awful merge conflicts.

I'll probably tackle the build script next to get rid of the dist folder asap.