atom-stylefmt
atom-stylefmt copied to clipboard
Settings from .stylelintrc?
Hello!
I have .stylelintrc in the folder (with css file) with the following rules:
{ "rules": { "max-empty-lines": 1 } }
Also installed plugin https://atom.io/packages/linter-stylelint, and it picks up my settings.
I installed your plugin and I want to format my css file with the configuration from the .stylelintrc, but this does not happen - your plugin is formatting a document on some other settings (rules). Ie in my case - the blank lines are not corrected for example, but other rules are executed, although these rules do not have in my .stylelintrc
What am I doing wrong?
Thank you
Where do you put .stylelintrc
on your project?
@1000ch I wrote above:
I have .stylelintrc in the folder (with css file)
Anyway, I put .stylelintrc in the project root, the same result. Here screen:
Plugin https://atom.io/packages/linter-stylelint work good with my .stylelintrc (see screen at the bottom, it only setting for empty line), why your plugin not wanting to work with this setting? By what rules it makes formatting?
Same issue here, it seems none of the empty line rules are working
I'm using "rule-empty-line-before": ["always"]
@1000ch any answer to my question? Will fixed problem?
Thank you
I ended up changing my config to match how stylefmt does it, which is actually what I was looking for, and works well with scss for now.
Same issue here. Tried locating the .stylelintrc
file in both the project root and also the root of the style I am trying to process. Restarted Atom both times just in case that was the case. Neither worked.
So, extension not working