mdave16 / cryptography

learning about cryptography made me want to create a small React App which can encrypt and decrypt using various cyphers
https://mdave16.github.io/cryptography
0 stars 0 forks source link

add prettier to format code and format code #12

Closed mdave16 closed 4 years ago

mdave16 commented 4 years ago

Problem

Code didn't look so good.

Solution

Add a formatter.

Additional Comments

https://prettier.io seems like a good one

also added yarn format to the scripts in package.json to keep it easy to remember the rules. Normally I go for no config, but I like tabs and no semicolons.