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
Provide built-in JSON reporter #3550
Comments
Hi there! JSHint's "custom reporter" feature is how we give consumers fine-grained control of JSHint's output without the formal approval of the maitenance team. It's also a benefit to the maitenance team because it helps us limit the amount of code that we're responsible for. I'd be happy to offer another built-in reporter, but I would like some indication that folks would use it. Honestly, at this stage in JSHint's lifetime, it seems unlikely that there's enough demand to warrant even a small feature like this, but I'm happy to be proven wrong! So if anyone would be interested, leave a positive "reaction" on @ybiquitous's original feature request above. |
Hi there,
I‘m wondering why JSHint has not provided a built-in JSON reporter. Currently, 3 reporters are provided:
jslint
- XMLcheckstyle
- XMLunix
- line orientedjshint/src/cli.js
Line 17 in 7c36c81
I can use a 3rd-party JSON reporter
jshint-json
, but I think it would be wonderful if we could use a JSON reporter more easily without any extra installation.For example, I have just written a custom reporter to output a JSON report:
https://github.com/sider/runners/blob/83b73bf27552cffb63906feb757b2e23161c73a3/images/jshint/custom-json-reporter.js
What do you think about this suggestion? I would appreciate your feedback.
Thank you.
The text was updated successfully, but these errors were encountered: