Add eslint and prettier
jcar787 opened this issue · 4 comments
jcar787 commented
I'm creating this issue since I think we need it for organizing the code better.
Any preference @gruns about code style and lint?
I'm planing to open a PR tonight with this changes.
gruns commented
This is awesome; the codebase needs a uniform, enforced style and accompanying
linter.
As for which one: Standard.
- IronDB is predominantly written in that style already.
- Semicolons are for machines, not humans.
If helpful, Standard's ESLint configuration can be found here:
jcar787 commented
Added the necessary configurations. Also I didn't ran the format since it change all the files. I prefer you to run it.
jcar787 commented
Closing this issue since it's merged already.
gruns commented
Awesome.
Thank you, Jeff.