Expected empty line before at-rule (at-rule-empty-line-before) Open
@media print {
- Read upRead up
- Exclude checks
at-rule-empty-line-before
Require or disallow an empty line before at-rules.
<!-- prettier-ignore -->a {}
/* ← */
@media {} /* ↑ */
/** ↑
* This line */
This rule ignores:
- at-rules that are the very first node in the source
-
@import
in Less.
The [fix
option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule. We recommend to enable [indentation
](../indentation/README.md) rule for better autofixing results with this rule.
Expected newline after "," (selector-list-comma-newline-after) Open
html, body {
- Read upRead up
- Exclude checks
selector-list-comma-newline-after
Require a newline or disallow whitespace after the commas of selector lists.
<!-- prettier-ignore -->a,
b↑{ color: pink; }
/** ↑
* The newline after this comma */
End-of-line comments are allowed one space after the comma.
<!-- prettier-ignore -->a, /* comment */
b { color: pink; }
The [fix
option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
Unexpected unknown at-rule "@tailwind" (at-rule-no-unknown) Open
@tailwind base;
- Read upRead up
- Exclude checks
at-rule-no-unknown
Disallow unknown at-rules.
<!-- prettier-ignore -->@unknown (max-width: 960px) {}
/** ↑
* At-rules like this */
This rule considers at-rules defined in the CSS Specifications, up to and including Editor's Drafts, to be known.
Expected empty line before declaration (declaration-empty-line-before) Open
shape-rendering: crispEdges;
- Read upRead up
- Exclude checks
declaration-empty-line-before
Require or disallow an empty line before declarations.
<!-- prettier-ignore -->a {
--foo: pink;
/* ← */
top: 15px; /* ↑ */
} /* ↑ */
/** ↑
* This line */
This rule only applies to standard property declarations. Use the [custom-property-empty-line-before
](../custom-property-empty-line-before/README.md) rule for custom property declarations.
The [fix
option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule. We recommend to enable [indentation
](../indentation/README.md) rule for better autofixing results with this rule.
Unexpected unknown at-rule "@layer" (at-rule-no-unknown) Open
@layer base {
- Read upRead up
- Exclude checks
at-rule-no-unknown
Disallow unknown at-rules.
<!-- prettier-ignore -->@unknown (max-width: 960px) {}
/** ↑
* At-rules like this */
This rule considers at-rules defined in the CSS Specifications, up to and including Editor's Drafts, to be known.
Unexpected unknown at-rule "@tailwind" (at-rule-no-unknown) Open
@tailwind components;
- Read upRead up
- Exclude checks
at-rule-no-unknown
Disallow unknown at-rules.
<!-- prettier-ignore -->@unknown (max-width: 960px) {}
/** ↑
* At-rules like this */
This rule considers at-rules defined in the CSS Specifications, up to and including Editor's Drafts, to be known.
Unexpected unknown at-rule "@tailwind" (at-rule-no-unknown) Open
@tailwind utilities;
- Read upRead up
- Exclude checks
at-rule-no-unknown
Disallow unknown at-rules.
<!-- prettier-ignore -->@unknown (max-width: 960px) {}
/** ↑
* At-rules like this */
This rule considers at-rules defined in the CSS Specifications, up to and including Editor's Drafts, to be known.
Expected no more than 1 empty line (max-empty-lines) Open
- Read upRead up
- Exclude checks
max-empty-lines
Limit the number of adjacent empty lines.
<!-- prettier-ignore -->a {}
/* ← */
/* ← */
a {} /* ↑ */
/** ↑
* These lines */
The [fix
option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.