-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Generating lint output in multiple formats #127
Comments
Not at the moment. You can output to a file, but not both. |
@ansujohn what is youre case? if you want y may create middleware, that mocks stdout, append this to file and get out stdout. |
My eslint config is like this
I need the checkstyle format for integrating with jenkins. While doing development i would like to run grunt lint and see the output in stdout as well. Because the plugin does not support multiple output formats I need to open the checkstyle.xml to view the errors. I had created a PR to fix this issue #130 Please look at it. Thanks |
I'd like this as well. Exact same use-case. When developing locally, I want to see the errors on the stdout. When it runs on Jenkins, I want both text output for humans reading the logs and a checkstyle file for Jenkins. |
Any update on this? I also want to have the ESLint running in my CI pipeline with checkstyle report and locally showing the errors on the stdout. Thanks. |
+1 |
You could use conditional configuration. For example, if |
Is there a way to generate the output in default format as well as checkstyle format saved into a file?
Thank you.
The text was updated successfully, but these errors were encountered: