pmndrs / use-cannon

👋💣 physics based hooks for @react-three/fiber
https://cannon.pmnd.rs
2.76k stars 154 forks source link

Automatic linting #222

Closed bjornstar closed 3 years ago

bjornstar commented 3 years ago

We're constantly running into linting issues, this is a solved problem we just need to turn it on.

This enables prettier and eslint and adds pre-commit hooks as well as running CI on github.

bjornstar commented 3 years ago

There's still a bunch of lint issues that need to be resolved, I have only committed the prettier fixes.

bjornstar commented 3 years ago

Just a few lint warnings now, this should be good to go

bjornstar commented 3 years ago

After this I should have a PR for converting propsToBody to typescript.

stockhuman commented 3 years ago

Was there a rationale for setting the print-width to 160?