• Register
0 votes
994 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

Please log in or register to answer this question.

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 49 views
0 votes
0 answers 6 views
6 views
Problem: As I previously stated in my question, I am having difficulty learning. Could someone help assist me in completing my project?
asked Mar 29 tuhin1 48.9k points
0 votes
1 answer 3 views
3 views
Problem: I'm looking for the ultimate postal code and zip code regex. I'm looking for something that will cover most (hopefully all) of the world.
asked Apr 26 anika11 32.2k points
0 votes
1 answer 4 views
4 views
Problem: I'm looking for the ultimate postal code and zip code regex. I'm looking for something that will cover most (hopefully all) of the world.
asked Apr 26 ochena 23.3k points
0 votes
1 answer 43 views
43 views
Problem: Any excel expert who know how top do this ? This cell's contents violate its validation rule .
asked Mar 21 PkGuy 23.5k points
0 votes
1 answer 547 views
547 views
Problem: What is the right format > write a query to display the names of all cse students in the college ordered in descending order.
asked Mar 1 Azlan2020 2.4k points
0 votes
1 answer 4 views
4 views
Problem: anyone who know this problem please help? within a css rule set, a declaration (rule), includes
asked Apr 9 Rohit kr 17.5k points
0 votes
1 answer 80 views
80 views
Problem: What would be the right query for this one > write a query to display the names of customers who have ordered more than 2 times.
asked Feb 28 Azlan2020 2.4k points
0 votes
1 answer 11 views
11 views
Problem: PLease suggest me with a proper solution for my homework query?which of the following css properties positions the caption of a table?
asked Apr 8 Sana8989 8.9k points
0 votes
0 answers 5 views
5 views
Problem: I'll make a submission for a response to my question. Please, I have searched the internet but have not found any useful material, and I am now having trouble continuing my studies.
asked Mar 29 tuhin1 48.9k points