Skip to content

Consider adding prettier as explicit devDependency w/ npm run script #13

@zachlysobey

Description

@zachlysobey

I wonder if you'd be into adding prettier as a dependency and an npm run ... script?

It'd make it easier to keep the code from deviating from the code-style standards.

In previous projects, I've even set it up as a pre-commit hook, so it formats any changed files upon git commit. (using husky and lint-staged as described here). You could also add an eslint task here too, and that would work pretty well.

I'd be happy to open a quick PR to do this if you'd like.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions