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 stylelint formatter path #49

Merged
merged 1 commit into from Dec 18, 2016
Merged

Fix stylelint formatter path #49

merged 1 commit into from Dec 18, 2016

Conversation

karlhorky
Copy link
Contributor

@coveralls
Copy link

Coverage Status

Coverage remained the same at 95.238% when pulling 4f5f6ee on karlhorky:fix-stylelint-formatter-path into f8ad86f on vieron:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 95.238% when pulling 4f5f6ee on karlhorky:fix-stylelint-formatter-path into f8ad86f on vieron:master.

@@ -4,7 +4,7 @@
var path = require('path');
var arrify = require('arrify');
var assign = require('object-assign');
var formatter = require('stylelint/dist/formatters/stringFormatter').default;
var formatter = require('stylelint/lib/formatters/stringFormatter');
Copy link

@jeddy3 jeddy3 Dec 18, 2016

Choose a reason for hiding this comment

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

I recommend you use the public API here rather than an undocumented path:

var formatter = require('stylelint').formatters.string;

It'll save you from having to make changes like this in the future.

@agroves333
Copy link

Can we get this published to npm soon?

@JaKXz
Copy link
Contributor

JaKXz commented Dec 19, 2016

@agroves333 it should be in v0.4.2 (see #47). Are you not seeing it? (because I just tried it and it seems fine)

joshwiens pushed a commit that referenced this pull request Mar 31, 2018
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.

None yet

5 participants