Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: stylelint-config-eyeo/css-properties-order.js

Issue 29643562: Issue 5689 - Add rules for CSS declaration order to stylelint-config-eyeo (Closed) Base URL: https://hg.adblockplus.org/codingtools
Patch Set: Fixed trailing whitespace errors Created Feb. 8, 2018, 2:11 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « stylelint-config-eyeo/README.md ('k') | stylelint-config-eyeo/index.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-present eyeo GmbH
4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation.
8 *
9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 "use strict";
19
20 module.exports = [
21 // Display
22 {
23 "order": "flexible",
24 "properties": [
25 "display",
26 "visibility",
27 "float",
28 "clear",
29 "overflow",
30 "overflow-x",
31 "overflow-y",
32 "clip",
33 "zoom",
34 "flex-direction",
35 "flex-order",
36 "flex-pack",
37 "flex-align"
38 ]
39 },
40
41 // Positioning
42 {
43 "order": "flexible",
44 "properties": [
45 "position",
46 "z-index",
47 "top",
48 "right",
49 "bottom",
50 "left"
51 ]
52 },
53
54 // Box model
55 {
56 "order": "flexible",
57 "properties": [
58 "box-sizing",
59 "width",
60 "min-width",
61 "max-width",
62 "height",
63 "min-height",
64 "max-height",
65 "margin",
66 "margin-top",
67 "margin-right",
68 "margin-bottom",
69 "margin-left",
70 "padding",
71 "padding-top",
72 "padding-right",
73 "padding-bottom",
74 "padding-left",
75 "border",
76 "border-width",
77 "border-style",
78 "border-color",
79 "border-top",
80 "border-top-width",
81 "border-top-style",
82 "border-top-color",
83 "border-right",
84 "border-right-width",
85 "border-right-style",
86 "border-right-color",
87 "border-bottom",
88 "border-bottom-width",
89 "border-bottom-style",
90 "border-bottom-color",
91 "border-left",
92 "border-left-width",
93 "border-left-style",
94 "border-left-color",
95 "border-radius",
96 "border-top-left-radius",
97 "border-top-right-radius",
98 "border-bottom-right-radius",
99 "border-bottom-left-radius",
100 "border-image",
101 "border-image-source",
102 "border-image-slice",
103 "border-image-width",
104 "border-image-outset",
105 "border-image-repeat",
106 "table-layout",
107 "empty-cells",
108 "caption-side",
109 "border-spacing",
110 "border-collapse"
111 ]
112 },
113
114 // Colors and Typography
115 {
116 "order": "flexible",
117 "properties": [
118 "outline",
119 "outline-width",
120 "outline-style",
121 "outline-color",
122 "outline-offset",
123 "opacity",
124 "filter:progid:DXImageTransform.Microsoft.Alpha(Opacity",
125 "color",
126 "background",
127 "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader",
128 "background-color",
129 "background-image",
130 "background-repeat",
131 "background-attachment",
132 "background-position",
133 "background-position-x",
134 "background-position-y",
135 "background-clip",
136 "background-origin",
137 "background-size",
138 "box-decoration-break",
139 "box-shadow",
140 "filter:progid:DXImageTransform.Microsoft.gradient",
141 "text-shadow",
142 "font",
143 "font-family",
144 "src",
145 "font-size",
146 "font-weight",
147 "font-style",
148 "font-variant",
149 "font-size-adjust",
150 "font-stretch",
151 "font-effect",
152 "font-emphasize",
153 "font-emphasize-position",
154 "font-emphasize-style",
155 "font-smooth",
156 "line-height",
157 "text-align",
158 "text-align-last",
159 "vertical-align",
160 "white-space",
161 "text-decoration",
162 "text-emphasis",
163 "text-emphasis-color",
164 "text-emphasis-style",
165 "text-emphasis-position",
166 "text-indent",
167 "text-justify",
168 "letter-spacing",
169 "word-spacing",
170 "text-outline",
171 "text-transform",
172 "text-wrap",
173 "text-overflow",
174 "text-overflow-ellipsis",
175 "text-overflow-mode",
176 "word-wrap",
177 "word-break",
178 "tab-size",
179 "hyphens"
180 ]
181 },
182
183 // Other
184 {
185 "order": "flexible",
186 "properties": [
187 "list-style",
188 "list-style-position",
189 "list-style-type",
190 "list-style-image",
191 "content",
192 "quotes",
193 "counter-reset",
194 "counter-increment",
195 "resize",
196 "cursor",
197 "user-select",
198 "nav-index",
199 "nav-up",
200 "nav-right",
201 "nav-down",
202 "nav-left",
203 "transition",
204 "transition-delay",
205 "transition-timing-function",
206 "transition-duration",
207 "transition-property",
208 "transform",
209 "transform-origin",
210 "animation",
211 "animation-name",
212 "animation-duration",
213 "animation-play-state",
214 "animation-timing-function",
215 "animation-delay",
216 "animation-iteration-count",
217 "animation-direction",
218 "backface-visibility",
219 "text-rendering",
220 "pointer-events"
221 ]
222 }
223 ];
OLDNEW
« no previous file with comments | « stylelint-config-eyeo/README.md ('k') | stylelint-config-eyeo/index.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld