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

[FIX #46] Pass formatter and formattersDirectory options to Linter object #47

Merged
merged 1 commit into from
Nov 30, 2016

Conversation

dpopescu
Copy link
Contributor

This update will pass the formatter and formattersDirectory to tslint's Linter object.

Example (webpack.config.js):

The configuration below will generate the correct report format.

tslint: {
        formatter: 'checkstyle',
        fileOutput: {
            dir: './reports/checkstyle',
            ext: 'xml',
            clean: true,
            header: '<?xml version="1.0" encoding="utf-8"?>\n<checkstyle version="5.7">',
            footer: '</checkstyle>'
        }
    }

@sonicoder86 sonicoder86 merged commit ce5a114 into wbuchwalter:master Nov 30, 2016
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

Successfully merging this pull request may close these issues.

2 participants