Skip to content

Add Styl - A validator, formatter & linter for GL style JSON files wr…#150

Merged
HarelM merged 1 commit into
maplibre:mainfrom
navidnabavi:patch-1
May 13, 2026
Merged

Add Styl - A validator, formatter & linter for GL style JSON files wr…#150
HarelM merged 1 commit into
maplibre:mainfrom
navidnabavi:patch-1

Conversation

@navidnabavi
Copy link
Copy Markdown
Contributor

I recently have started to develop a tool for developing gl styles, to get hints about validation, format and lints. This might be a good tools to create extensions for IDEs, using in CIs and etc.

@HarelM
Copy link
Copy Markdown
Collaborator

HarelM commented May 13, 2026

The dubs says it works for both mapbox and maplibre, but they have different style specs (although very similar), out of curiosity, how does that work?

@HarelM HarelM merged commit 5b6a45b into maplibre:main May 13, 2026
1 check passed
@navidnabavi
Copy link
Copy Markdown
Contributor Author

Good question! Most of basics are the same but there some spec differents, I added a switch to select mapbox or maplibre validation/lint but still not doing something and a WIP. Currently I focused on shared specs.

@navidnabavi
Copy link
Copy Markdown
Contributor Author

It is supported now, you can check --spec mapbox or --spec mablibre for specific checks.

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.

2 participants