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

Option for "error only" logging output #31

Open
mike-north opened this issue Jul 18, 2018 · 3 comments
Open

Option for "error only" logging output #31

mike-north opened this issue Jul 18, 2018 · 3 comments

Comments

@mike-north
Copy link

When working in a project with lots of in-repo addons/engines, the output from this broccoli plugin gets a little noisy. In my example app, rougly 50% of the logging output for the whole app comes from this one broccoli plugin

This kind of output may be best implemented with npm:debug

Using tslint.json as the default file for linting rules
Using tslint.json as the default file for linting rules
Using tslint.json as the default file for linting rules
Using tslint.json as the default file for linting rules
Using tslint.json as the default file for linting rules
Using tslint.json as the default file for linting rules
Using tslint.json as the default file for linting rules
Using tslint.json as the default file for linting rules
Using tslint.json as the default file for linting rules
Using tslint.json as the default file for linting rules
Using tslint.json as the default file for linting rules
Using tslint.json as the default file for linting rules
Using tslint.json as the default file for linting rules
Using tslint.json as the default file for linting rules
Using tslint.json as the default file for linting rules
Using tslint.json as the default file for linting rules
Finished linting 16 successfully
Finished linting 8 successfully
Finished linting 8 successfully
Finished linting 32 successfully
Finished linting 31 successfully
Finished linting 1 successfully
Finished linting 1 successfully
Finished linting 3 successfully
Finished linting 10 successfully
Finished linting 10 successfully
Finished linting 10 successfully
Finished linting 20 successfully
Finished linting 2 successfully
Finished linting 1 successfully
@ghost
Copy link

ghost commented Aug 8, 2018

Any known workaround for this?

@mike-north
Copy link
Author

@lsg-richard looks like explicitly specifying a configuration will suppress the first message

if (options.configuration) {
this.tslintConfigPath = options.configuration;
} else {
console.log(this.createLogMessage('Using tslint.json as the default file for linting rules', 'blue'));
}

@ghost
Copy link

ghost commented Aug 8, 2018

Cool, doesn't look it's currently possible to set this when invoking via ember-cli-tslint though:

https://github.com/typed-ember/ember-cli-tslint/blob/ceaba5d8dc9c2727a8b56ef2355c5c6a08aee858/index.js#L16

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

1 participant