x-dash icon indicating copy to clipboard operation
x-dash copied to clipboard

prettier can change formatting to something that eslint doesn't like

Open apaleslimghost opened this issue 6 years ago • 1 comments

which, if you have your editor configured to run prettier on save, makes writing code that passes the tests a bit of a pain. we should consider using something like xo, which keeps eslint and prettier in sync, and has a default style that's pretty close to ours anyway. we should also think about enforcing style with a git hook?

apaleslimghost avatar Feb 05 '19 16:02 apaleslimghost

since this issue i've created a pretty good personal setup with lint-staged and eslint-preset-prettier https://gist.github.com/apaleslimghost/f574c6d429f6ced18593eed5e5432d2b

apaleslimghost avatar Aug 11 '20 11:08 apaleslimghost