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

Validate and format style with pre-commit hook #74

Merged
merged 4 commits into from
Jan 14, 2020

Conversation

kylebarron
Copy link
Contributor

Closes #73
Ref #59

  • npm run validate runs gl-style-validate
  • npm run diff runs a diff between the current style.json and one formatted with gl-style-format
  • npm run format reformats in place the style.json according to gl-style-format

@pathmapper
Copy link
Member

Cool, thanks @kylebarron :)

@pathmapper pathmapper merged commit b40a609 into maputnik:gh-pages Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add script to format and validate the style
2 participants