Skip to content
New issue

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

[Chore] add a code formatter config to keep the code style consistent? #91

Open
leecalcote opened this issue Nov 23, 2023 · 1 comment
Labels
help wanted Extra attention is needed kind/chore Necessary task

Comments

@leecalcote
Copy link
Member

          No worries. I did a quick fix to get more inputs. I'll make the necessary changes. Also can we add a code formatter config to keep the code style consistent?

Originally posted by @phukon in #79 (comment)

@leecalcote leecalcote added help wanted Extra attention is needed kind/chore Necessary task labels Nov 23, 2023
@phukon
Copy link
Contributor

phukon commented Nov 23, 2023

Ref: layer5/sistent

{
  "semi": true,
  "tabWidth": 2,
  "printWidth": 100,
  "singleQuote": true,
  "trailingComma": "none",
  "plugins": ["prettier-plugin-organize-imports"]
}

Suggest files/folders to add in .prettierignore for a Hugo project.

archive
assets
content/en
static
Makefile
go.mod
go.sum
hugo.toml
netlify.toml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed kind/chore Necessary task
Development

Successfully merging a pull request may close this issue.

2 participants