-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.lesshintrc
127 lines (127 loc) · 2.67 KB
/
.lesshintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"fileExtensions": [".less"],
"excludedFiles": ["mixins.less"],
"attributeQuotes": {
"enabled": true,
"style": "double"
},
"borderZero": {
"enabled": true,
"style": "none"
},
"comment": {
"enabled": false
},
"decimalZero": {
"enabled": true,
"style": "leading"
},
"depthLevel": {
"enabled": false,
"depth": 3
},
"duplicateProperty": {
"enabled": true
},
"emptyRule": {
"enabled": true
},
"finalNewline": {
"enabled": true
},
"hexLength": {
"enabled": true,
"style": "long"
},
"hexNotation": {
"enabled": true,
"style": "lowercase"
},
"hexValidation": {
"enabled": true
},
"idSelector": {
"enabled": false
},
"importantRule": {
"enabled": true
},
"importPath": {
"enabled": false,
"leadingUnderscore": true
},
"propertyOrdering": {
"enabled": false
},
"qualifyingElement": {
"allowWithAttribute": true,
"allowWithClass": true,
"allowWithId": true
},
"selectorNaming": {
"disallowUppercase": true,
"disallowUnderscore": true,
"disallowDash": true,
"exclude": []
},
"singleLinePerProperty": {
"enabled": true
},
"singleLinePerSelector": {
"enabled": true
},
"spaceAfterPropertyColon": {
"enabled": true,
"style": "one_space"
},
"spaceAfterPropertyName": {
"enabled": true,
"style": "no_space"
},
"spaceAfterPropertyValue": {
"enabled": true,
"style": "no_space"
},
"spaceAroundComma": {
"enabled": true,
"style": "after"
},
/* As of 1.3.1 this is returning false negatives when it comes across
* negative numbers in calculations or shorthand.
*
* https://github.com/lesshint/lesshint/issues/129
*/
"spaceAroundOperator": {
"enabled": true, // disabled until lesshint#129 fixed
"style": "both"
},
"spaceBeforeBrace": {
"enabled": true,
"style": "one_space"
},
"spaceBetweenParens": {
"enabled": true,
"style": "no_space"
},
"stringQuotes": {
"enabled": true,
"style": "double"
},
"trailingSemicolon": {
"enabled": true
},
"trailingWhitespace": {
"enabled": false
},
"urlFormat": { // we want both
"enabled": true,
"style": "relative"
},
"urlQuotes": {
"enabled": true
},
"zeroUnit": {
"enabled": true,
"style": "no_unit"
}
}