0

I'm using Sublime Text 3 and SublimeLinter CSSLint.

How can I disable the order-alphabetical warnings?

I've found this link: https://github.com/SublimeLinter/SublimeLinter-csslint/issues/15

Preferences> Package Settings> SublimeLinter> Settings.

I get this window:

enter image description here

Then what?

Someone suggested the following code:

"linters": {
 "csslint": {
 "@disable": false,
 "args": [],
 "errors": "",
 "excludes": [],
 "ignore": ["order-alphabetical"],
 "warnings": ""
 },

I've tried copying and pasting into the right hand pane (// SublimeLinter Settings - User) but I get an error message:

enter image description here

What am I doing wrong? Should I paste this into the left pane/window? Do I delete the text "// SublimeLinter Settings - User"?

Thank you

asked Nov 18, 2019 at 20:37

1 Answer 1

1

While Sublime Text allows comments in its JSON-like settings format, you need to make sure the rest of notation is valid. Hence, your settings should look something like this:

{
 "linters": {
 "csslint": {
 "@disable": false,
 "args": [],
 "errors": "",
 "excludes": [],
 "ignore": ["order-alphabetical"],
 "warnings": ""
 }
 }
}
answered Nov 18, 2019 at 21:43
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.