Skip to content

Conversation

EvanHahn
Copy link
Contributor

@EvanHahn EvanHahn commented Aug 3, 2022

This commit adds Prettier to make the code style more consistent (related to #5).

It also adds a few npm scripts to help with this:

  • npm run lint will check files with Prettier
  • npm run format will format all files with Prettier
  • npm test will now run npm run lint beforehand (see the pretest script)

Hope this helps! Happy to answer any questions.

This commit adds [Prettier][0] to make the code style more consistent
(related to [issue brannondorsey#5][1]).

It also adds a few npm scripts to help with this:

- `npm run lint` will check files with Prettier
- `npm run format` will format all files with Prettier
- `npm test` will now run `npm run lint` beforehand (see the `pretest`
  script)

[0]: https://prettier.io/
[1]: brannondorsey#5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant