Showing 117 of 117 total issues
Expected single space before "{" (block-opening-brace-space-before) Open
@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}
- Read upRead up
- Exclude checks
block-opening-brace-space-before
Require a single space or disallow whitespace before the opening brace of blocks.
<!-- prettier-ignore -->a { color: pink; }
/** ↑
* The space before this brace */
The [fix
option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
Expected no more than 1 declaration (declaration-block-single-line-max-declarations) Open
.float-center { float: none; margin: 0 auto; }
- Read upRead up
- Exclude checks
declaration-block-single-line-max-declarations
Limit the number of declarations within a single-line declaration block.
<!-- prettier-ignore -->a { color: pink; top: 0; }
/** ↑ ↑
* The number of these declarations */
Expected single space after "," (function-comma-space-after) Open
0 1px 3px 0 rgba(0,0,0,.12);
- Read upRead up
- Exclude checks
function-comma-space-after
Require a single space or disallow whitespace after the commas of functions.
<!-- prettier-ignore -->a { transform: translate(1, 1) }
/** ↑
* The space after this comma */
The [fix
option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
Expected a leading zero (number-leading-zero) Open
0 2px 1px -2px rgba(0, 0, 0, .2),
- Read upRead up
- Exclude checks
number-leading-zero
Require or disallow a leading zero for fractional numbers less than 1.
<!-- prettier-ignore -->a { line-height: 0.5; }
/** ↑
* This leading zero */
This rule ignores mixin parameters in Less.
The [fix
option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
Unexpected empty line before rule (rule-empty-line-before) Open
.clear-fix { zoom: 1; }
- Read upRead up
- Exclude checks
rule-empty-line-before
Require or disallow an empty line before rules.
<!-- prettier-ignore -->a {}
/* ← */
b {} /* ↑ */
/** ↑
* This line */
This rule ignores rules that are the very first node in a source.
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 single space after "{" of a single-line block (block-opening-brace-space-after) Open
@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}
- Read upRead up
- Exclude checks
block-opening-brace-space-after
Require a single space or disallow whitespace after the opening brace of blocks.
<!-- prettier-ignore -->a { color: pink; }
/** ↑
* The space after this brace */
The [fix
option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
Expected "#2C3e50" to be "#2c3e50" (color-hex-case) Open
background: #2C3e50;
- Read upRead up
- Exclude checks
color-hex-case
Specify lowercase or uppercase for hex colors.
<!-- prettier-ignore -->a { color: #fff }
/** ↑
* This hex color */
The [fix
option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
Expected "#777" to be "#777777" (color-hex-length) Open
color: #777;
- Read upRead up
- Exclude checks
color-hex-length
Specify short or long notation for hex colors.
<!-- prettier-ignore -->a { color: #fff }
/** ↑
* This hex color */
The [fix
option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
Expected "#eee" to be "#eeeeee" (color-hex-length) Open
background: #eee;
- Read upRead up
- Exclude checks
color-hex-length
Specify short or long notation for hex colors.
<!-- prettier-ignore -->a { color: #fff }
/** ↑
* This hex color */
The [fix
option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
Unexpected empty line before comment (comment-empty-line-before) Open
/* $Headers */
- Read upRead up
- Exclude checks
comment-empty-line-before
Require or disallow an empty line before comments.
<!-- prettier-ignore -->a {}
/* ← */
/* comment */ /* ↑ */
/** ↑
* This line */
This rule ignores:
- comments that are the very first node in the source
- shared-line comments
- single-line comments with
//
(when you're using a custom syntax that supports them) - comments within selector and value lists
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 a leading zero (number-leading-zero) Open
padding: .7rem 1rem;
- Read upRead up
- Exclude checks
number-leading-zero
Require or disallow a leading zero for fractional numbers less than 1.
<!-- prettier-ignore -->a { line-height: 0.5; }
/** ↑
* This leading zero */
This rule ignores mixin parameters in Less.
The [fix
option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
Expected single space before "{" (block-opening-brace-space-before) Open
@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}
- Read upRead up
- Exclude checks
block-opening-brace-space-before
Require a single space or disallow whitespace before the opening brace of blocks.
<!-- prettier-ignore -->a { color: pink; }
/** ↑
* The space before this brace */
The [fix
option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after) Open
.github-corner svg{position: absolute; top: 0; border: 0; right: 0;
- Read upRead up
- Exclude checks
declaration-block-semicolon-newline-after
Require a newline or disallow whitespace after the semicolons of declaration blocks.
<!-- prettier-ignore -->a {
color: pink;
top: 0; ↑
} ↑
/** ↑
* The newline after this semicolon */
This rule ignores:
- semicolons that are preceded by Less mixins
- the last semicolon of declaration blocks
Use the block-closing-brace-*-before
rules to control the whitespace between the last semicolon and the closing brace instead.
This rule allows an end-of-line comment followed by a newline. For example,
<!-- prettier-ignore -->a {
color: pink; /* end-of-line comment */
top: 0;
}
The [fix
option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
Expected single space after ":" with a single-line declaration (declaration-colon-space-after) Open
@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}
- Read upRead up
- Exclude checks
declaration-colon-space-after
Require a single space or disallow whitespace after the colon of declarations.
<!-- prettier-ignore -->a { color: pink }
/** ↑
* The space after this colon */
The [fix
option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
Expected single space after "," (function-comma-space-after) Open
0 2px 1px -2px rgba(0,0,0,.2),
- Read upRead up
- Exclude checks
function-comma-space-after
Require a single space or disallow whitespace after the commas of functions.
<!-- prettier-ignore -->a { transform: translate(1, 1) }
/** ↑
* The space after this comma */
The [fix
option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
Expected single space after "," (function-comma-space-after) Open
0 1px 3px 0 rgba(0,0,0,.12);
- Read upRead up
- Exclude checks
function-comma-space-after
Require a single space or disallow whitespace after the commas of functions.
<!-- prettier-ignore -->a { transform: translate(1, 1) }
/** ↑
* The space after this comma */
The [fix
option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
Expected a leading zero (number-leading-zero) Open
padding: .7rem 1rem;
- Read upRead up
- Exclude checks
number-leading-zero
Require or disallow a leading zero for fractional numbers less than 1.
<!-- prettier-ignore -->a { line-height: 0.5; }
/** ↑
* This leading zero */
This rule ignores mixin parameters in Less.
The [fix
option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
Unexpected empty line before comment (comment-empty-line-before) Open
/* $Links */
- Read upRead up
- Exclude checks
comment-empty-line-before
Require or disallow an empty line before comments.
<!-- prettier-ignore -->a {}
/* ← */
/* comment */ /* ↑ */
/** ↑
* This line */
This rule ignores:
- comments that are the very first node in the source
- shared-line comments
- single-line comments with
//
(when you're using a custom syntax that supports them) - comments within selector and value lists
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 empty line before comment (comment-empty-line-before) Open
/* $jQuery.leanModal2 */
- Read upRead up
- Exclude checks
comment-empty-line-before
Require or disallow an empty line before comments.
<!-- prettier-ignore -->a {}
/* ← */
/* comment */ /* ↑ */
/** ↑
* This line */
This rule ignores:
- comments that are the very first node in the source
- shared-line comments
- single-line comments with
//
(when you're using a custom syntax that supports them) - comments within selector and value lists
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 single space after ":" with a single-line declaration (declaration-colon-space-after) Open
@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}
- Read upRead up
- Exclude checks
declaration-colon-space-after
Require a single space or disallow whitespace after the colon of declarations.
<!-- prettier-ignore -->a { color: pink }
/** ↑
* The space after this colon */
The [fix
option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.