Skip to content

Printing config options in xml output #312

@michaelbrooks

Description

@michaelbrooks

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions