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

stylefmt ignore .stylelintrc.json #81

Closed
azu opened this issue Apr 5, 2016 · 3 comments
Closed

stylefmt ignore .stylelintrc.json #81

azu opened this issue Apr 5, 2016 · 3 comments
Labels

Comments

@azu
Copy link

azu commented Apr 5, 2016

Hi, Nice work for supporting stylelint configuration #61

I've noticed unexpected behavior that stylefmt ignore .stylelintrc.json(.stylelintrc.<ext> pattern).

stylelint can load config from .stylelintrc, .stylelintrc.json, .stylelintrc.yaml, .stylelintrc.js, .stylelintrc.config.js and a stylelint property in package.json.
Available file naming/format is defeined in cosmiconfig.

It is better that adding note like "only support .stylelintrc file (without extension)" to README, I think.

@matype
Copy link
Owner

matype commented Apr 5, 2016

@azu Thank you for telling me. I will fix it using cosmiconfig.

@matype
Copy link
Owner

matype commented Apr 7, 2016

@azu Just released v3.1.0 that introduced cosmiconfig to load the configuration file in the same way as stylelint. Please confirm it :)

@azu
Copy link
Author

azu commented Apr 9, 2016

Work fine. Thanks

@azu azu closed this as completed Apr 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants