Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added stylelint to src
- Loading branch information
Thiago Saife Rodrigues
committed
Jan 5, 2022
1 parent
9409740
commit 1fb4521
Showing
1 changed file
with
312 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,312 @@ | ||
{ | ||
"extends": ["stylelint-config-standard", "stylelint-config-sass-guidelines"], | ||
|
||
"plugins": ["stylelint-order"], | ||
|
||
"rules": { | ||
"max-nesting-depth": 4, | ||
"selector-max-id": 1, | ||
"selector-max-compound-selectors": 4, | ||
"selector-class-pattern": null, | ||
"scss/at-mixin-pattern": null, | ||
"at-rule-no-unknown": null, | ||
"scss/at-rule-no-unknown": null, | ||
"order/properties-alphabetical-order": null, | ||
"selector-pseudo-class-no-unknown": [ | ||
true, | ||
{ | ||
"ignorePseudoClasses": ["global", "export"] | ||
} | ||
], | ||
"font-family-no-missing-generic-family-keyword": [ | ||
true, | ||
{ | ||
"ignoreFontFamilies": ["Roboto"] | ||
} | ||
], | ||
"no-descending-specificity": null, | ||
"order/order": [ | ||
[ | ||
"dollar-variables", | ||
"custom-properties", | ||
"at-rules", | ||
"declarations", | ||
{ | ||
"type": "at-rule", | ||
"name": "supports" | ||
}, | ||
{ | ||
"type": "at-rule", | ||
"name": "media" | ||
}, | ||
"rules" | ||
], | ||
{ "severity": "warning" } | ||
], | ||
"order/properties-order": [ | ||
[ | ||
"composes", | ||
"@import", | ||
"@extend", | ||
"@mixin", | ||
"@at-root", | ||
|
||
"content", | ||
"position", | ||
"bottom", | ||
"left", | ||
"right", | ||
"top", | ||
"z-index", | ||
|
||
"display", | ||
"flex", | ||
"flex-basis", | ||
"flex-direction", | ||
"flex-flow", | ||
"flex-grow", | ||
"flex-shrink", | ||
"flex-wrap", | ||
"grid", | ||
"grid-area", | ||
"grid-auto-columns", | ||
"grid-auto-flow", | ||
"grid-auto-rows", | ||
"grid-column-end", | ||
"grid-column-gap", | ||
"column-gap", | ||
"grid-column-start", | ||
"grid-column", | ||
"grid-gap", | ||
"grid-row-end", | ||
"grid-row-gap", | ||
"row-gap", | ||
"grid-row-start", | ||
"grid-row", | ||
"grid-template-areas", | ||
"grid-template-columns", | ||
"grid-template-rows", | ||
"grid-template", | ||
"gap", | ||
"align-content", | ||
"align-items", | ||
"align-self", | ||
"justify-content", | ||
"justify-items", | ||
"justify-self", | ||
|
||
"clear", | ||
"float", | ||
"object-fit", | ||
"object-position", | ||
"order", | ||
"overflow", | ||
"overflow-scrolling", | ||
"overflow-x", | ||
"overflow-y", | ||
"vertical-align", | ||
|
||
|
||
"box-sizing", | ||
"width", | ||
"height", | ||
"max-height", | ||
"max-width", | ||
"min-height", | ||
"min-width", | ||
|
||
"margin", | ||
"margin-bottom", | ||
"margin-left", | ||
"margin-right", | ||
"margin-top", | ||
"padding", | ||
"padding-bottom", | ||
"padding-left", | ||
"padding-right", | ||
"padding-top", | ||
|
||
|
||
"-ms-writing-mode", | ||
"break-after", | ||
"break-before", | ||
"break-inside", | ||
"color", | ||
"column-count", | ||
"column-fill", | ||
"column-gap", | ||
"column-rule-color", | ||
"column-rule-style", | ||
"column-rule-width", | ||
"column-rule", | ||
"column-span", | ||
"column-width", | ||
"columns", | ||
"counter-increment", | ||
"counter-reset", | ||
"direction", | ||
"font", | ||
"font-family", | ||
"font-size-adjust", | ||
"font-size", | ||
"font-stretch", | ||
"font-style", | ||
"font-variant", | ||
"font-weight", | ||
"hyphens", | ||
"interpolation-mode", | ||
"letter-spacing", | ||
"line-height", | ||
"orphans", | ||
"overflow-wrap", | ||
"page-break-after", | ||
"page-break-before", | ||
"page-break-inside", | ||
"quotes", | ||
"src", | ||
"tab-size", | ||
"text-align", | ||
"text-align-last", | ||
"text-decoration", | ||
"text-emphasis-color", | ||
"text-emphasis-position", | ||
"text-emphasis-style", | ||
"text-emphasis", | ||
"text-indent", | ||
"text-justify", | ||
"text-outline", | ||
"text-overflow-ellipsis", | ||
"text-overflow-mode", | ||
"text-overflow", | ||
"text-shadow", | ||
"text-transform", | ||
"text-wrap", | ||
"unicode-bidi", | ||
"white-space", | ||
"word-break", | ||
"word-spacing", | ||
"word-wrap", | ||
|
||
"background", | ||
"background-attachment", | ||
"background-clip", | ||
"background-color", | ||
"background-image", | ||
"background-origin", | ||
"background-position-x", | ||
"background-position-y", | ||
"background-position", | ||
"background-repeat", | ||
"background-size", | ||
"border", | ||
"border-radius", | ||
"border-bottom", | ||
"border-bottom-color", | ||
"border-bottom-image", | ||
"border-bottom-left-image", | ||
"border-bottom-left-radius", | ||
"border-bottom-right-image", | ||
"border-bottom-right-radius", | ||
"border-bottom-style", | ||
"border-bottom-width", | ||
"border-collapse", | ||
"border-color", | ||
"border-corner-image", | ||
"border-image", | ||
"border-image-outset", | ||
"border-image-repeat", | ||
"border-image-slice", | ||
"border-image-source", | ||
"border-image-width", | ||
"border-left", | ||
"border-left-color", | ||
"border-left-image", | ||
"border-left-style", | ||
"border-left-width", | ||
"border-right", | ||
"border-right-color", | ||
"border-right-image", | ||
"border-right-style", | ||
"border-right-width", | ||
"border-spacing", | ||
"border-style", | ||
"border-top", | ||
"border-top-color", | ||
"border-top-image", | ||
"border-top-left-image", | ||
"border-top-left-radius", | ||
"border-top-right-image", | ||
"border-top-right-radius", | ||
"border-top-style", | ||
"border-top-width", | ||
"border-width", | ||
"box-decoration-break", | ||
"box-shadow", | ||
"caption-side", | ||
"cursor", | ||
"empty-cells", | ||
"filter", | ||
"list-style-image", | ||
"list-style-position", | ||
"list-style-type", | ||
"list-style", | ||
"opacity", | ||
"outline-color", | ||
"outline-offset", | ||
"outline-style", | ||
"outline-width", | ||
"outline", | ||
"pointer-events", | ||
"resize", | ||
"table-layout", | ||
"user-select", | ||
"visibility", | ||
|
||
"animation", | ||
"animation-delay", | ||
"animation-direction", | ||
"animation-duration", | ||
"animation-fill-mode", | ||
"animation-iteration-count", | ||
"animation-name", | ||
"animation-play-state", | ||
"animation-timing-function", | ||
"transform", | ||
"transform-origin", | ||
"transition", | ||
"transition-delay", | ||
"transition-duration", | ||
"transition-property", | ||
"transition-timing-function", | ||
|
||
"appearance", | ||
"clip", | ||
"clip-path", | ||
"clip-rule", | ||
"counter-increment", | ||
"counter-reset", | ||
"fill", | ||
"fill-rule", | ||
"max-zoom", | ||
"min-zoom", | ||
"nav-down", | ||
"nav-index", | ||
"nav-left", | ||
"nav-right", | ||
"nav-up", | ||
"orientation", | ||
"quotes", | ||
"stroke", | ||
"touch-action", | ||
"user-zoom", | ||
"widows", | ||
"will-change", | ||
"zoom" | ||
], | ||
{ | ||
"unspecified": "bottom", | ||
"severity": "warning" | ||
} | ||
] | ||
} | ||
} |