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

Printing config options in xml output #312

Closed
michaelbrooks opened this issue Oct 8, 2012 · 1 comment
Closed

Printing config options in xml output #312

michaelbrooks opened this issue Oct 8, 2012 · 1 comment

Comments

@michaelbrooks
Copy link

When I set the output format to checkstyle-xml and provide a .csslintrc file, it prints out the options at the top of the xml file before the root element. This messes up the tool I use the xml output with later. Should be a simple fix, in readConfigFile() in cli.js.

Example output:

ignore = undefined
errors = important
warnings = import
<?xml version="1.0" encoding="utf-8"?><checkstyle>
...
</checkstyle>
@nzakas
Copy link
Contributor

nzakas commented Nov 13, 2012

Yep, definitely a bug.

@nzakas nzakas closed this as completed in ec47332 Nov 13, 2012
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

No branches or pull requests

2 participants