• Register
0 votes
752 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 21 views
1 vote
1 answer 551 views
551 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, 2020 Martin K 6.6k points
1 vote
1 answer 278 views
278 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, 2020 stewart 4k points
0 votes
2 answers 1.8K views
1.8K 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, 2020 mphil 2.3k points
0 votes
1 answer 76 views
76 views
Problem: I am working on Hibernate and now I am facing what I believe is a simple problem with the Hibernate but still I can't solve it. I have written a simple class I would like to persist but still keep facing below error: SEVERE: Field 'id' doesn't have a ... that is not working for me. Initializing the id also did not help me either! I am looking for Hibernate expert to fix my above error.
asked Jul 30, 2020 Raphael Pacheco 4.9k points
0 votes
2 answers 180 views
180 views
Problem: Array elements all have the same ____ in common? a. Pointer b. Memory location c. Value d. Data type
asked Apr 12, 2020 ArifulIslam 7.5k points
1 vote
1 answer 56 views
56 views
Problem: Are the all data type has default values in Java? I am just wondering what is the default value of an integer if I write: int a; boolean b; System.out.println(a); System.out.println(b); All data fields in an object have default values or not? If they have default values what are they? Thanks
asked Mar 26, 2020 Gavin 15.3k points
1 vote
2 answers 37 views
37 views
Problem: Hello java programmers, Myself is a new student in java. I am practicing basic java methods and objects. Finding beginner-level problems and trying to solve them. I recently got a line that says, all local variables in a method have default values. What does it mean? Can you please write a simple code that makes me understand this well? Thanks guys.
asked Mar 26, 2020 Gavin 15.3k points