Skip to content

Instantly share code, notes, and snippets.

@RobDoan
Created October 16, 2017 14:21
Show Gist options
  • Save RobDoan/4635700dcf723cd55fd69a8aadc59a21 to your computer and use it in GitHub Desktop.
Save RobDoan/4635700dcf723cd55fd69a8aadc59a21 to your computer and use it in GitHub Desktop.

Revisions

  1. RobDoan created this gist Oct 16, 2017.
    237 changes: 237 additions & 0 deletions .csscomb.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,237 @@
    {
    "include": [
    "app/assets/stylesheets/**/*.scss",
    "app/javascript/styles/**/*.scss"
    ],
    "exclude": [
    ".git/**",
    "node_modules/**",
    "vendor/**/*"
    ],
    "remove-empty-rulesets": true,
    "always-semicolon": true,
    "color-case": "lower",
    "block-indent": " ",
    "color-shorthand": true,
    "element-case": "lower",
    "eof-newline": true,
    "leading-zero": false,
    "quotes": "double",
    "sort-order-fallback": "abc",
    "space-before-colon": "",
    "space-after-colon": " ",
    "space-before-combinator": " ",
    "space-after-combinator": " ",
    "space-between-declarations": "\n",
    "space-before-opening-brace": "",
    "space-after-opening-brace": "\n",
    "space-after-selector-delimiter": "\n",
    "space-before-selector-delimiter": "",
    "space-before-closing-brace": "\n",
    "strip-spaces": true,
    "tab-size": true,
    "unitless-zero": true,
    "vendor-prefix-align": true,
    "sort-order": [
    [
    "display",
    "position",
    "top",
    "right",
    "bottom",
    "left"
    ],
    [
    "flex",
    "flex-basis",
    "flex-direction",
    "flex-flow",
    "flex-grow",
    "flex-shrink",
    "flex-wrap",
    "align-content",
    "align-items",
    "align-self",
    "justify-content",
    "order"
    ],
    [
    "columns",
    "column-gap",
    "column-fill",
    "column-rule",
    "column-span",
    "column-count",
    "column-width"
    ],
    [
    "float",
    "clear"
    ],
    [
    "transform",
    "transform-origin",
    "transition"
    ],
    [
    "animation",
    "animation-name",
    "animation-duration",
    "animation-timing-function",
    "animation-delay",
    "animation-iteration-count",
    "animation-direction",
    "animation-fill-mode",
    "animation-play-state"
    ],
    [
    "visibility",
    "opacity",
    "z-index"
    ],
    [
    "margin",
    "margin-top",
    "margin-right",
    "margin-bottom",
    "margin-left"
    ],
    [
    "outline",
    "outline-offset",
    "outline-width",
    "outline-style",
    "outline-color"
    ],
    [
    "border",
    "border-top",
    "border-right",
    "border-bottom",
    "border-left",
    "border-width",
    "border-top-width",
    "border-right-width",
    "border-bottom-width",
    "border-left-width"
    ],
    [
    "border-style",
    "border-top-style",
    "border-right-style",
    "border-bottom-style",
    "border-left-style"
    ],
    [
    "border-radius",
    "border-top-left-radius",
    "border-top-right-radius",
    "border-bottom-left-radius",
    "border-bottom-right-radius"
    ],
    [
    "border-color",
    "border-top-color",
    "border-right-color",
    "border-bottom-color",
    "border-left-color"
    ],
    [
    "box-shadow",
    "-webkit-box-shadow",
    "-moz-box-shadow",
    "box-shadow",
    "filter:progid:DXImageTransform.Microsoft.gradient",
    "-ms-filter:\\'progid:DXImageTransform.Microsoft.gradient",
    "text-shadow"
    ],
    [
    "background",
    "background-attachment",
    "background-clip",
    "background-color",
    "background-image",
    "background-repeat",
    "background-position",
    "background-size",
    "cursor"
    ],
    [
    "padding",
    "padding-top",
    "padding-right",
    "padding-bottom",
    "padding-left"
    ],
    [
    "width",
    "min-width",
    "max-width"
    ],
    [
    "height",
    "min-height",
    "max-height"
    ],
    [
    "overflow",
    "overflow",
    "overflow-x",
    "overflow-y",
    "-ms-overflow-x",
    "-ms-overflow-y",
    "-webkit-overflow-scrolling"
    ],
    [
    "list-style",
    "caption-side"
    ],
    [
    "table-layout",
    "border-collapse",
    "border-spacing",
    "empty-cells"
    ],
    [
    "vertical-align"
    ],
    [
    "text-align",
    "text-indent",
    "text-transform",
    "text-decoration",
    "text-rendering",
    "text-shadow",
    "text-overflow"
    ],
    [
    "line-height",
    "word-break",
    "word-wrap",
    "word-spacing",
    "letter-spacing",
    "white-space",
    "color"
    ],
    [
    "font",
    "font-family",
    "font-size",
    "font-weight",
    "font-style",
    "font-variant",
    "font-size-adjust",
    "font-stretch",
    "font-effect",
    "font-emphasize",
    "font-emphasize-position",
    "font-emphasize-style",
    "font-smooth",
    "line-height"
    ],
    [
    "content",
    "quotes"
    ]
    ]
    }