Skip to content

Conversation

@tony
Copy link
Contributor

@tony tony commented Jan 24, 2021

re: #299

Cherry-picked from my fork's updates: tony#1

Prettier docs: Any opinions on config? Options: https://prettier.io/docs/en/options.html

I have no opinion, I assume .prettierrc at {} implies intention is to use prettier's current defaults.

If not, feel free to edit this PR and adjust to your liking :)

Changes

  • Update prettier to 1.x -> 2.x
  • Add npm run format
  • Ignore .json files (Add .prettierignore)

Usage

npm run format

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