origin-js icon indicating copy to clipboard operation
origin-js copied to clipboard

Use StandardJS

Open gaboesquivel opened this issue 7 years ago • 0 comments

Reading contributing guidelines I noticed npm code sytle is the current official coding style.

I've been working with and contributing to the StandardJS organization for a while now. It's a very similar standard with no semicolons that has a lot tooling for automated linting and fixing. This is something that is highly desirable to have, it supports react/jsx too.

I want to propose adopting this standard to leverage all the tooling around it. If approved I can work on a PR that will lint fix the whole code base and add a pre-commit hook using https://github.com/sheerun/prettier-standard, typicode/husky and okonet/lint-staged to exectue standard and prettier.

gaboesquivel avatar May 10 '18 17:05 gaboesquivel