You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, not sure if I've read documentation wrong, if I've set it up wrong, or there's an actual issue with the plugin. I've been trying to get autofix to work but it's only showing that errors are there. --fix does not fix the issues. I also want to note that the issues from the base stylelint autofixing is working.
src/App.css
209:3 ✖ Expected box-sizing to come before width order/properties-alphabetical-order
327:3 ✖ Expected grid-column to come before grid-row order/properties-alphabetical-order
333:3 ✖ Expected grid-row to come before position order/properties-alphabetical-order
334:3 ✖ Expected grid-column to come before grid-row order/properties-alphabetical-order
335:3 ✖ Expected background-color to come before grid-column order/properties-alphabetical-order
...
20 problems (20 errors, 0 warnings)
The text was updated successfully, but these errors were encountered:
Hi, I've been experiencing the same issue of the plugin autofixing not working and have discovered that the problem is caused by having a /* stylelint-disable */ directive present anywhere in the file (even if stylelint is later re-enabled), my solution for now was to move the conflicting block of code to a separate file and exclude that file from stylelint completely.
Hi, not sure if I've read documentation wrong, if I've set it up wrong, or there's an actual issue with the plugin. I've been trying to get autofix to work but it's only showing that errors are there.
--fix
does not fix the issues. I also want to note that the issues from the base stylelint autofixing is working.Here is my .stylelintrc.json:
The command I run is
stylelint "**/*.css" --fix
And the response is
The text was updated successfully, but these errors were encountered: