We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As we get more contributions to this repo, I think its best to have automated code formatting. Prettier is a good option.
See this link for tips on how to configure it with go templates (the syntax that hugo use) https://discourse.gohugo.io/t/hugo-and-prettier/22596
The text was updated successfully, but these errors were encountered:
@geekyme I have added the following configuration should I create a PR? { "useTabs": false, "trailingComma": "es5", "tabWidth": 4, "semi": false, "singleQuote": true, "overrides": [ { "files": ["*.html"], "options": { "parser": "go-template" } } ] }
Sorry, something went wrong.
Sure please go ahead! Thank you! We'll need to probably have some git commit hooks as well.
Merge pull request #160 from RohitDhatrak/master
7448064
#147 added prettier configuration file for automated code formatting
No branches or pull requests
As we get more contributions to this repo, I think its best to have automated code formatting. Prettier is a good option.
See this link for tips on how to configure it with go templates (the syntax that hugo use) https://discourse.gohugo.io/t/hugo-and-prettier/22596
The text was updated successfully, but these errors were encountered: