 Issue 29643562:
  Issue 5689 - Add rules for CSS declaration order to stylelint-config-eyeo  (Closed) 
  Base URL: https://hg.adblockplus.org/codingtools
    
  
    Issue 29643562:
  Issue 5689 - Add rules for CSS declaration order to stylelint-config-eyeo  (Closed) 
  Base URL: https://hg.adblockplus.org/codingtools| Left: | ||
| Right: | 
| OLD | NEW | 
|---|---|
| (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 | |
| 
juliandoucette
2018/01/15 17:51:58
NIT: Looks like this should have a newline before
 
ire
2018/01/22 08:52:55
I think the newline before is not applicable to th
 | |
| 22 "display", | |
| 23 "visibility", | |
| 24 "float", | |
| 25 "clear", | |
| 26 "overflow", | |
| 27 "overflow-x", | |
| 28 "overflow-y", | |
| 29 "clip", | |
| 30 "zoom", | |
| 31 "flex-direction", | |
| 32 "flex-order", | |
| 33 "flex-pack", | |
| 34 "flex-align", | |
| 35 | |
| 36 // Positioning | |
| 37 "position", | |
| 38 "z-index", | |
| 39 "top", | |
| 40 "right", | |
| 41 "bottom", | |
| 42 "left", | |
| 43 | |
| 44 // Box model | |
| 45 "box-sizing", | |
| 46 "width", | |
| 47 "min-width", | |
| 48 "max-width", | |
| 49 "height", | |
| 50 "min-height", | |
| 51 "max-height", | |
| 52 "margin", | |
| 53 "margin-top", | |
| 54 "margin-right", | |
| 55 "margin-bottom", | |
| 56 "margin-left", | |
| 57 "padding", | |
| 58 "padding-top", | |
| 59 "padding-right", | |
| 60 "padding-bottom", | |
| 61 "padding-left", | |
| 62 "border", | |
| 63 "border-width", | |
| 64 "border-style", | |
| 65 "border-color", | |
| 66 "border-top", | |
| 67 "border-top-width", | |
| 68 "border-top-style", | |
| 69 "border-top-color", | |
| 70 "border-right", | |
| 71 "border-right-width", | |
| 72 "border-right-style", | |
| 73 "border-right-color", | |
| 74 "border-bottom", | |
| 75 "border-bottom-width", | |
| 76 "border-bottom-style", | |
| 77 "border-bottom-color", | |
| 78 "border-left", | |
| 79 "border-left-width", | |
| 80 "border-left-style", | |
| 81 "border-left-color", | |
| 82 "border-radius", | |
| 83 "border-top-left-radius", | |
| 84 "border-top-right-radius", | |
| 85 "border-bottom-right-radius", | |
| 86 "border-bottom-left-radius", | |
| 87 "border-image", | |
| 88 "border-image-source", | |
| 89 "border-image-slice", | |
| 90 "border-image-width", | |
| 91 "border-image-outset", | |
| 92 "border-image-repeat", | |
| 93 "table-layout", | |
| 94 "empty-cells", | |
| 95 "caption-side", | |
| 96 "border-spacing", | |
| 97 "border-collapse", | |
| 98 | |
| 99 // Colors and Typography | |
| 100 "outline", | |
| 101 "outline-width", | |
| 102 "outline-style", | |
| 103 "outline-color", | |
| 104 "outline-offset", | |
| 105 "opacity", | |
| 106 "filter:progid:DXImageTransform.Microsoft.Alpha(Opacity", | |
| 107 "color", | |
| 108 "background", | |
| 109 "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader", | |
| 110 "background-color", | |
| 111 "background-image", | |
| 112 "background-repeat", | |
| 113 "background-attachment", | |
| 114 "background-position", | |
| 115 "background-position-x", | |
| 116 "background-position-y", | |
| 117 "background-clip", | |
| 118 "background-origin", | |
| 119 "background-size", | |
| 120 "box-decoration-break", | |
| 121 "box-shadow", | |
| 122 "filter:progid:DXImageTransform.Microsoft.gradient", | |
| 123 "text-shadow", | |
| 124 "font", | |
| 125 "font-family", | |
| 126 "src", | |
| 127 "font-size", | |
| 128 "font-weight", | |
| 129 "font-style", | |
| 130 "font-variant", | |
| 131 "font-size-adjust", | |
| 132 "font-stretch", | |
| 133 "font-effect", | |
| 134 "font-emphasize", | |
| 135 "font-emphasize-position", | |
| 136 "font-emphasize-style", | |
| 137 "font-smooth", | |
| 138 "line-height", | |
| 139 "text-align", | |
| 140 "text-align-last", | |
| 141 "vertical-align", | |
| 142 "white-space", | |
| 143 "text-decoration", | |
| 144 "text-emphasis", | |
| 145 "text-emphasis-color", | |
| 146 "text-emphasis-style", | |
| 147 "text-emphasis-position", | |
| 148 "text-indent", | |
| 149 "text-justify", | |
| 150 "letter-spacing", | |
| 151 "word-spacing", | |
| 152 "text-outline", | |
| 153 "text-transform", | |
| 154 "text-wrap", | |
| 155 "text-overflow", | |
| 156 "text-overflow-ellipsis", | |
| 157 "text-overflow-mode", | |
| 158 "word-wrap", | |
| 159 "word-break", | |
| 160 "tab-size", | |
| 161 "hyphens", | |
| 162 | |
| 163 // Other | |
| 164 "list-style", | |
| 165 "list-style-position", | |
| 166 "list-style-type", | |
| 167 "list-style-image", | |
| 168 "content", | |
| 169 "quotes", | |
| 170 "counter-reset", | |
| 171 "counter-increment", | |
| 172 "resize", | |
| 173 "cursor", | |
| 174 "user-select", | |
| 175 "nav-index", | |
| 176 "nav-up", | |
| 177 "nav-right", | |
| 178 "nav-down", | |
| 179 "nav-left", | |
| 180 "transition", | |
| 181 "transition-delay", | |
| 182 "transition-timing-function", | |
| 183 "transition-duration", | |
| 184 "transition-property", | |
| 185 "transform", | |
| 186 "transform-origin", | |
| 187 "animation", | |
| 188 "animation-name", | |
| 189 "animation-duration", | |
| 190 "animation-play-state", | |
| 191 "animation-timing-function", | |
| 192 "animation-delay", | |
| 193 "animation-iteration-count", | |
| 194 "animation-direction", | |
| 195 "backface-visibility", | |
| 196 "text-rendering", | |
| 197 "pointer-events" | |
| 198 ]; | |
| OLD | NEW |