Last active
January 21, 2021 03:04
-
-
Save whaaaley/98193d466c29c61ac4300ab8334879c3 to your computer and use it in GitHub Desktop.
Stylelint config based on SMACCS but with more nuanced adjustments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "extends": "stylelint-config-standard", | |
| "plugins": [ | |
| "stylelint-order" | |
| ], | |
| "rules": { | |
| "at-rule-no-unknown": [ | |
| true, | |
| { | |
| "ignoreAtRules": ["extend"] | |
| } | |
| ], | |
| "property-disallowed-list": [ | |
| "flex-grow", | |
| "flex-shrink", | |
| "flex-basis", | |
| "flex-direction", | |
| "flex-wrap", | |
| "grid", | |
| "grid-after", | |
| "grid-area", | |
| "grid-auto-columns", | |
| "grid-auto-flow", | |
| "grid-auto-rows", | |
| "grid-before", | |
| "grid-column", | |
| "grid-column-end", | |
| "grid-column-gap", | |
| "grid-column-start", | |
| "grid-columns", | |
| "grid-end", | |
| "grid-gap", | |
| "grid-row", | |
| "grid-row-end", | |
| "grid-row-gap", | |
| "grid-row-start", | |
| "grid-rows", | |
| "grid-start", | |
| "grid-template", | |
| "grid-template-areas", | |
| "grid-template-columns", | |
| "grid-template-rows", | |
| "font-smoothing" | |
| ], | |
| "order/order": [ | |
| "custom-properties", | |
| "declarations" | |
| ], | |
| "order/properties-order": [ | |
| "flex", | |
| "flex-grow", | |
| "flex-shrink", | |
| "flex-basis", | |
| "align-self", | |
| "order", | |
| "display", | |
| "visibility", | |
| "flex-flow", | |
| "flex-direction", | |
| "flex-wrap", | |
| "align-items", | |
| "align-content", | |
| "justify-content", | |
| "grid", | |
| "grid-after", | |
| "grid-area", | |
| "grid-auto-columns", | |
| "grid-auto-flow", | |
| "grid-auto-rows", | |
| "grid-before", | |
| "grid-column", | |
| "grid-column-end", | |
| "grid-column-gap", | |
| "grid-column-start", | |
| "grid-columns", | |
| "grid-end", | |
| "grid-gap", | |
| "grid-row", | |
| "grid-row-end", | |
| "grid-row-gap", | |
| "grid-row-start", | |
| "grid-rows", | |
| "grid-start", | |
| "grid-template", | |
| "grid-template-areas", | |
| "grid-template-columns", | |
| "grid-template-rows", | |
| "position", | |
| "z-index", | |
| "top", | |
| "right", | |
| "bottom", | |
| "left", | |
| "width", | |
| "min-width", | |
| "max-width", | |
| "height", | |
| "min-height", | |
| "max-height", | |
| "margin", | |
| "margin-top", | |
| "margin-right", | |
| "margin-bottom", | |
| "margin-left", | |
| "padding", | |
| "padding-top", | |
| "padding-right", | |
| "padding-bottom", | |
| "padding-left", | |
| "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-right-radius", | |
| "border-bottom-left-radius", | |
| "border-color", | |
| "border-top-color", | |
| "border-right-color", | |
| "border-bottom-color", | |
| "border-left-color", | |
| "outline", | |
| "outline-color", | |
| "outline-offset", | |
| "outline-style", | |
| "outline-width", | |
| "stroke-width", | |
| "stroke-linecap", | |
| "stroke-dasharray", | |
| "stroke-dashoffset", | |
| "stroke", | |
| "color", | |
| "font", | |
| "font-family", | |
| "font-size", | |
| "font-size-adjust", | |
| "font-smoothing", | |
| "font-stretch", | |
| "font-style", | |
| "font-variant", | |
| "font-weight", | |
| "font-emphasize", | |
| "font-emphasize-position", | |
| "font-emphasize-style", | |
| "letter-spacing", | |
| "line-height", | |
| "list-style", | |
| "text-align", | |
| "text-align-last", | |
| "text-decoration", | |
| "text-decoration-color", | |
| "text-decoration-line", | |
| "text-decoration-style", | |
| "text-indent", | |
| "text-justify", | |
| "text-overflow", | |
| "text-overflow-ellipsis", | |
| "text-overflow-mode", | |
| "text-rendering", | |
| "text-outline", | |
| "text-shadow", | |
| "text-transform", | |
| "text-wrap", | |
| "word-wrap", | |
| "word-break", | |
| "text-emphasis", | |
| "text-emphasis-color", | |
| "text-emphasis-style", | |
| "text-emphasis-position", | |
| "vertical-align", | |
| "white-space", | |
| "word-spacing", | |
| "hyphens", | |
| "src", | |
| "float", | |
| "clear", | |
| "overflow", | |
| "overflow-x", | |
| "overflow-y", | |
| "clip", | |
| "zoom", | |
| "columns", | |
| "column-gap", | |
| "column-fill", | |
| "column-rule", | |
| "column-span", | |
| "column-count", | |
| "column-width", | |
| "table-layout", | |
| "empty-cells", | |
| "caption-side", | |
| "border-spacing", | |
| "border-collapse", | |
| "list-style", | |
| "list-style-position", | |
| "list-style-type", | |
| "list-style-image", | |
| "transform", | |
| "transform-box", | |
| "transform-origin", | |
| "transform-style", | |
| "backface-visibility", | |
| "perspective", | |
| "perspective-origin", | |
| "transition", | |
| "transition-property", | |
| "transition-duration", | |
| "transition-timing-function", | |
| "transition-delay", | |
| "animation", | |
| "animation-name", | |
| "animation-duration", | |
| "animation-play-state", | |
| "animation-timing-function", | |
| "animation-delay", | |
| "animation-iteration-count", | |
| "animation-direction", | |
| "opacity", | |
| "background", | |
| "background-attachment", | |
| "background-clip", | |
| "background-color", | |
| "background-image", | |
| "background-repeat", | |
| "background-position", | |
| "background-size", | |
| "box-shadow", | |
| "fill", | |
| "tab-size", | |
| "counter-reset", | |
| "counter-increment", | |
| "resize", | |
| "cursor", | |
| "pointer-events", | |
| "speak", | |
| "user-select", | |
| "nav-index", | |
| "nav-up", | |
| "nav-right", | |
| "nav-down", | |
| "nav-left", | |
| "overflow-scrolling", | |
| "text-size-adjust" | |
| ] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment