gruns/ImmortalDB

Add eslint and prettier

jcar787 opened this issue · 4 comments

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.

  1. IronDB is predominantly written in that style already.
  2. Semicolons are for machines, not humans.

If helpful, Standard's ESLint configuration can be found here:

Added the necessary configurations. Also I didn't ran the format since it change all the files. I prefer you to run it.

Closing this issue since it's merged already.

gruns commented

Awesome.

Thank you, Jeff.