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

pluginColors option to enable/disable plugin coloring of stylint output #18

Conversation

manuhabitela
Copy link

Hi, thanks for your plugin :)

I noticed lint outputs were different when using directly stylelint vs the webpack plugin. I'd rather have the plugin don't affect at all how stylelint output things, and let the formatter handle it.

If it were only me I'd totally delete the coloring done by the plugin, but in order to preserve current behavior I added a pluginColors option to handle that.

What do you think?

Set the option to `false` to prevent the plugin from forcing a coloring output,
and let the chosen formatter handle it 100%.
@JaKXz
Copy link
Contributor

JaKXz commented Aug 4, 2016

Thanks for the PR, @Leimi! Could you rebase and try adding this again? #17 did some restructuring while fixing the stylelint v7 issues. :)

It would be really cool to see a test for this as well, perhaps using testdouble to check whether or not the colouring function was called when expected. Thanks again!

Copy link
Contributor

@JaKXz JaKXz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still appreciate the spirit of this PR so if you find the time to rebase and apply & test your changes I'd happily take another look.

@JaKXz
Copy link
Contributor

JaKXz commented Sep 17, 2017

Closing due to inactivity - please feel free to re-fork and start this again :)

@JaKXz JaKXz closed this Sep 17, 2017
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