Showing 117 of 117 total issues
Expected single space after ":" with a single-line declaration (declaration-colon-space-after) Open
@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}
- 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 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 a leading zero (number-leading-zero) Open
0 1px 3px 0 rgba(0, 0, 0, .12);
- 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
.text-center { text-align: center; }
- 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 newline after "," (selector-list-comma-newline-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
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.
Expected newline before "}" of a multi-line block (block-closing-brace-newline-before) Open
text-decoration: none;}
- Read upRead up
- Exclude checks
block-closing-brace-newline-before
Require a newline or disallow whitespace before the closing brace of blocks.
<!-- prettier-ignore -->a { color: pink;
}
/** ↑
* The newline 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 single space before "}" of a single-line block (block-closing-brace-space-before) Open
@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}
- Read upRead up
- Exclude checks
block-closing-brace-space-before
Require a single space or disallow whitespace before the closing 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 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 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 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 single space before "{" (block-opening-brace-space-before) Open
@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}
- 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 "#222" to be "#222222" (color-hex-length) Open
color: #222;
- 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 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 a trailing semicolon (declaration-block-trailing-semicolon) Open
@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}
- Read upRead up
- Exclude checks
declaration-block-trailing-semicolon
Require or disallow a trailing semicolon within declaration blocks.
<!-- prettier-ignore -->a { background: orange; color: pink; }
/** ↑
* This semicolon */
The trailing semicolon is the last semicolon in a declaration block and it is optional.
This rule ignores:
- Less mixins
- trailing
//
comments - declaration blocks containing nested (at-)rules
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 ")" (media-feature-parentheses-space-inside) Open
@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}
- Read upRead up
- Exclude checks
media-feature-parentheses-space-inside
Require a single space or disallow whitespace on the inside of the parentheses within media features.
<!-- prettier-ignore -->@media ( max-width: 300px ) {}
/** ↑ ↑
* The space inside these two parentheses */
The [fix
option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
TODO found Open
<p class="text-left TODO">jQuery.jQuery.leanModal2</p>
- Exclude checks
TODO found Open
<p class="text-left TODO">jQuery.equalize is a small jQuery plugin to equalize the height of elements with the equalize class within groups, or the entire page. It is open-sourced by eustasy under the MIT License, and the minified version is only 1.8KB in size.</p>
- Exclude checks