I'd like some lint tools
What type of request is this?
New tool idea
Clear and concise description of the feature you are proposing
I used jsonlint.com pretty regularly, but I'd rather not send my json outside to find formatting issues.
Is their example of this tool in the wild?
No response
Additional context
No response
Validations
- [X] Check the feature is not already implemented in the project.
- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
- [X] Check that the feature can be implemented in a client side only app (IT-Tools is client side only, no server).
I agree, I have the same concerns. Linting tools I'd like to see:
- JSON
- YAML
- TOML
- XML
Hi @Gorian , @linkslice ,
- json linter in https://github.com/CorentinTh/it-tools/pull/1015
- yaml linter in https://github.com/CorentinTh/it-tools/pull/957
- XML linter and toml have some converters to json, kind of validators
Thanks for the links! Just to note, validation - "this is correct enough to convert" - isn't the same as linting - "here's what's wrong, and how to fix it".
As an example, with the TOML to JSON converter, it only tells me the TOML is invalid. It doesn't tell me why, or what is wrong (the value should be quoted)
By comparison, this JSON linter identifies the issue (lack of a comma) and tells you what is expected, and where:
Hi @Gorian @linkslice , linters implemented:
- https://sharevb-it-tools.vercel.app/json-linter
- https://sharevb-it-tools.vercel.app/yaml-prettify
- https://sharevb-it-tools.vercel.app/xml-linter
- https://sharevb-it-tools.vercel.app/toml-linter
And if you are interested in an up to date version of it-tools, with many improvements, new tools, and bug fixes, as this repo is almost no more maintained, I made a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools)