Format html file as post-hook to fix prettier
It restores <!doctype html> back to <!DOCTYPE html> as workaround for this issue: prettier/prettier#15096
- Install
format-html-clias global or local package - run
format-html-clifrom cli or npm script
Details refer to examples/package.json
This project is licensed with BSD-2-Clause
This is free, libre, and open-source software. It comes down to four essential freedoms [ref]:
- The freedom to run the program as you wish, for any purpose
- The freedom to study how the program works, and change it so it does your computing as you wish
- The freedom to redistribute copies so you can help others
- The freedom to distribute copies of your modified versions to others