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

More comprehensive property sort order error messages #416

Open
bitspook opened this issue Nov 19, 2015 · 2 comments · May be fixed by #1157
Open

More comprehensive property sort order error messages #416

bitspook opened this issue Nov 19, 2015 · 2 comments · May be fixed by #1157

Comments

@bitspook
Copy link

The error message for sorting with scss-lint.rb tells the entire sort-order, i.e it should be sorted prop1, prop2, prop3.

scss-lint.js says "expected prop1 found prop3" and on fixing this and rerunning it would say "expecting prop1 found prop2". It's sort of time consuming.

Would be nice if it could tell the entire sort order applicable for a given block of code.

cc: @gajus

@rafw87
Copy link

rafw87 commented Oct 29, 2017

I've prepared a PR which should provide better messages for the most common cases: #1157

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants