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 ignores .stylelintrc #178

Open
Bubbi opened this issue Aug 10, 2016 · 3 comments
Open

stylefmt ignores .stylelintrc #178

Bubbi opened this issue Aug 10, 2016 · 3 comments

Comments

@Bubbi
Copy link

Bubbi commented Aug 10, 2016

I am using the atom package stylefmt, but when formatting the css and scss code, it doesn't respect the .stylelintrc file in my project. It formats the files using standard rules of some kind.

I don't know if it actually reads the local .stylelintrc file and then just ignores some rules or if it uses a totally different config.

How can I see which config is used?

example of a thing that should be respected according to the .stylelintrc file:
"color-hex-case": "upper",

But it always formats to lowercase.

If you need anything to debug or can help me debug, give feedback :-)

@Bubbi
Copy link
Author

Bubbi commented Sep 14, 2016

@paazmaya, hmm.. I've updated to the latest version and now it works a bit better, but still not fully..

Without having changed the .stylelintrc file, it now reads the beforementioned
"color-hex-case": "upper",

But it seems like it still ignores some other rules defined in the file.
among these, are:

"declaration-block-properties-order": "alphabetical",
"selector-list-comma-newline-after": "always",

I don't know if you need some debug info - if so, how do I get it?

@Bubbi
Copy link
Author

Bubbi commented Sep 14, 2016

By the way, I have tried to move the individual rules up to the top of the file, just in case that it was because of an error in the file. but they are still not being respected.

@lkraav
Copy link

lkraav commented Oct 2, 2016

Pretty sure this is a duplicate of either #157 and #214

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

No branches or pull requests

2 participants