• Register
0 votes
379 views

Problem :

I am very new to Csslint. I have written some code and while trying to execute it getting following warning.

I am unable to order-alphabetical below properties :

.border_radius {
-moz-border-radius-bottomleft: 0 !important;
-webkit-border-bottom-left-radius: 0 !important;
border-bottom-left-radius: 0 !important;
}

I am facing below warning

Css lint rule doesn't have all its properties in alphabetical ordered.

How to fix this warning issue?

8 4 2
2,300 points

1 Answer

0 votes

Solution :

You can try to put the rule -moz-border-radius-bottomleft: 0 !important; after the other two rules.

The reason you are facing the above warning is that a order-alphabetical rule ignores a prefixes. If the two properties are only different in their prefix, then the order doesn't matter.

Few days ago the Brackets CSSLint supports the global preferences. You need to just open it with your Debug > Open Preferences File and simply add the rules which you want to be ignored like in the below example:

"csslint.options": {
    "qualified-headings": false,
    "ids": false
}

You can also find the rule names by opening up the csslint code and by searching for your warning you want to hide.

This way is much more ideal than just editing the extension code by your hand every time it updates.

Hope it helps you in fixing your issue.

5 2 1
4,980 points

Related questions

0 votes
0 answers 3 views
1 vote
1 answer 123 views
123 views
Problem : I am very new to SQL Queries. Recently I have joined new team and I am given below task Find the country that has all the vowels and no spaces in its name? I have written below query SELECT country FROM world WHERE country LIKE '%u'       and country LIKE ... of time in writing the correct query but still unable to do it. So I am looking for sql experts help in fixing my above query.
asked Apr 17 stewart 4k points
1 vote
1 answer 129 views
129 views
Problem : I am very new to Swift. Now I have started learning Swift. Recently I have written very simple class as shown below for your reference: public class SwiftUser {     let userid: Int     let userfirstName: String     let userlastName: String     ... Return from initializer without initializing all stored properties . Now I am very confused. Please help me in resolving above Swift error.
asked May 12 Martin K 6.6k points
0 votes
2 answers 909 views
909 views
Problem : I am new to git. I am creating the new rails application but warning in git about LF replacement. I do git init git add . and then boom! I see this pop up for almost all files. I always face below warning usually if I build the application then it ... your working directory. warning: LF will be replaced by CRLF in README. I am unable to understand the message. How can I fix the message?
asked Feb 24 mphil 2.3k points
0 votes
2 answers 40 views
40 views
Problem: Array elements all have the same ____ in common? a. Pointer b. Memory location c. Value d. Data type
asked Apr 12 ArifulIslam 5.7k points