Skip to content

stylelint/rules/at-rules ​

on save: the property order, the Prettier formatting (never disabled); warning = a choice to justify (disabled for one line, with a reason). Notations are free. At-rules: @media, @import, @layer, @container and the other at-rules.

24 rules, 3 on. Source: lint/stylelint/rules/at-rules.mjs.

RuleSettingFilesWhat it checksWhy
at-rule-allowed-listoffSCSS——
at-rule-descriptor-no-unknownoffSCSS——
at-rule-descriptor-value-no-unknownoffSCSS——
at-rule-disallowed-listoffSCSS——
at-rule-empty-line-beforeoffSCSS—Off: formatting, checked by prettier/prettier.
at-rule-no-deprecatederrorSCSS——
at-rule-no-unknownoffSCSS——
at-rule-no-vendor-prefixoffSCSS—Off: the Angular build adds the vendor prefixes.
at-rule-prelude-no-invalidoffSCSS——
at-rule-property-required-listoffSCSS——
container-name-patternoffSCSS—Off: a naming convention the code review is enough for.
custom-media-patternoffSCSS—Off: a naming convention the code review is enough for.
import-notationoffSCSS—Off: a notation choice, not a mistake.
layer-name-patternoffSCSS—Off: a naming convention the code review is enough for.
media-feature-name-allowed-listoffSCSS——
media-feature-name-disallowed-listoffSCSS——
media-feature-name-no-unknownerrorSCSS——
media-feature-name-no-vendor-prefixoffSCSS—Off: the Angular build adds the vendor prefixes.
media-feature-name-unit-allowed-listoffSCSS——
media-feature-name-value-allowed-listoffSCSS——
media-feature-name-value-no-unknownoffSCSS——
media-feature-range-notationoffSCSS—Off: a notation choice, not a mistake.
media-query-no-invalidoffSCSS——
media-type-no-deprecatederrorSCSS——

Generated from the JSDoc of the sources.