blocksoapp / monorepo

0 stars 0 forks source link

Setup ESLINT and Prettier #197

Open nullbitx8 opened 1 year ago

nullbitx8 commented 1 year ago

Current Behavior We don't have a common code style that is enforced across the codebase.

Expected Behavior There is a linter that detects errors early and is enforced on builds. There is a code formatter that forces everyone to agree on a code style and is enforced on builds. IF either of those fail, then the build should fail.

Setup eslint for linting, and prettier for formatting. https://dev.to/thomaslombart/how-to-setup-eslint-and-prettier-for-your-react-apps-1n42 https://dev.to/knowankit/setup-eslint-and-prettier-in-react-app-357b

Make builds fail when either of those tools fail.

nullbitx8 commented 1 year ago

I'm gonna assign this to me cuz it has a lot of bitch work involved, but we should go over how to set it up after I create the PR, cuz it's helpful to have in all projects.