nqminds / edgesec.info

edgesec tool documentation
https://edgesec.info
MIT License
0 stars 0 forks source link

Fix Prettier configuration #152

Closed aloisklink closed 1 year ago

aloisklink commented 1 year ago

Currently, this repo has some basic configuration for Prettier, but it doesn't seem to be working. Prettier is currently only enabled as a husky pre-commit hook, but it only lints Markdown, YAML, JSON, and CSS files, and it clearly doesn't work too often, considering how many Markdown files are not formatted properly.

This PR:

Notes to reviewer

I'd recommend reviewing this PR commit-by-commit, since the style: run `npx prettier . --write` commit has a lot of changes, but it's all auto-generated.