effectai / effect-js

JavaScript Library to access and develop dApps on Effect Network.
https://effect.network
Other
57 stars 3 forks source link

Eslint #97

Closed djmbritt closed 5 months ago

djmbritt commented 1 year ago

Add eslint to project

jeisses commented 1 year ago

Not a fan of the linting style applied. I would like to have semicolons allowed (if we want to go strict on this then they should be mandatory or auto-added).

Also do not see a problem with having trailing commas as in

let a = [
  1,
];

what formatting rules were used here?

djmbritt commented 1 year ago

The style is: https://github.com/standard/standard. We can use another style that suites you.

I prefer not having semicolons, but I'm also okay with having them in. Indeed, I prefer having trailing commas as well. I'll add it to the rules.