-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Fix stylelint formatter path #49
Conversation
1 similar comment
@@ -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'); |
There was a problem hiding this comment.
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.
Can we get this published to npm soon? |
@agroves333 it should be in v0.4.2 (see #47). Are you not seeing it? (because I just tried it and it seems fine) |
Changed in stylelint/stylelint#2134