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

Write linter to check data files #62

Open
EmilyGraceSeville7cf opened this issue Mar 24, 2023 · 2 comments
Open

Write linter to check data files #62

EmilyGraceSeville7cf opened this issue Mar 24, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@EmilyGraceSeville7cf
Copy link
Member

  • check extension
  • check JSOM schema
  • check urls
  • check repeated entities
@EmilyGraceSeville7cf EmilyGraceSeville7cf added the enhancement New feature or request label Mar 24, 2023
@EmilyGraceSeville7cf EmilyGraceSeville7cf self-assigned this Mar 24, 2023
@EmilyGraceSeville7cf EmilyGraceSeville7cf added the invalid This doesn't seem right label Mar 27, 2023
@EmilyGraceSeville7cf
Copy link
Member Author

EmilyGraceSeville7cf commented Mar 27, 2023

There is no need in such validator now, as everything is checked inside Go templates and via JSON schema.

@EmilyGraceSeville7cf
Copy link
Member Author

I guess I can move such checks from Hugo templates to a separate tool. It will speed up site built, but at the same time allow CI to check whether everything is fine with data files. And as a bonus intellisence will be available, while in Hugo templates just syntax highlighting and snippets implemented yet.

@EmilyGraceSeville7cf EmilyGraceSeville7cf removed the invalid This doesn't seem right label Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant