Closed hudochenkov closed 7 years ago
@hudochenkov fmm.. stylefmt should refer the closest .stylelintrc
using cosmiconfig. (https://github.com/morishitter/stylefmt/blob/master/lib/params.js#L38-L59)
I will investigate the cause.
Thanks.
@hudochenkov , Can you help me do a test? Pull this branch and try again.
It doesn't work.
You can try it. Create ~/.stylelintrc
:
{
"rules": {
"indentation": "tab"
}
}
@hudochenkov
I was Create %HOME%\.stylelintrc:
in Windows
It is work fine.
Did you forget to delete the node-modules
and run npm i
?
@gucong3000 I never had your fork, so it's a clean install.
My wife will have a baby tomorrow, I will come back a month later.
@gucong3000 congratulations!
@hudochenkov Fixed in master branch.
Thank you!
I just pull this repository, then
npm install
and then run testsnpm test
. Half of the tests was failing. It's really weird, because Travis shows that test is ok.Almost all tests have problems with indentation:
I found the root of the problem. I have
.stylelintrc
in my user directory (/Users/aleks/.stylelintrc
). Since stylefmt support config in this location it use this config in test which is unacceptable behaviour.