Showing 46 of 46 total issues
Line should be indented 2 spaces, but was indented 4 spaces Open
display: flex;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
height: 4rem;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
padding: 1rem;
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
div.icon-bar > a.icon-link > img[class$="-logo"] {
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
color: white;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
user-select: none;
- Exclude checks
Properties should be ordered display, height, justify-content Open
justify-content: center;
- Exclude checks
Headers should be surrounded by blank lines Open
## SCM & CI/CD Setup
- Read upRead up
- Exclude checks
MD022 - Headers should be surrounded by blank lines
Tags: headers, blank_lines
Aliases: blanks-around-headers
This rule is triggered when headers (any style) are either not preceded or not followed by a blank line:
# Header 1
Some text
Some more text
## Header 2
To fix this, ensure that all headers have a blank line both before and after (except where the header is at the beginning or end of the document):
# Header 1
Some text
Some more text
## Header 2
Rationale: Aside from aesthetic reasons, some parsers, including kramdown, will not parse headers that don't have a blank line before, and will parse them as regular text.
The property -ms-user-select is compatible with -webkit-user-select and should be included as well. Open
-webkit-user-select: none;
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
background: black;
- Exclude checks
Multiple consecutive blank lines Open
- Read upRead up
- Exclude checks
MD012 - Multiple consecutive blank lines
Tags: whitespace, blank_lines
Aliases: no-multiple-blanks
This rule is triggered when there are multiple consecutive blank lines in the document:
Some text here
Some more text here
To fix this, delete the offending lines:
Some text here
Some more text here
Note: this rule will not be triggered if there are multiple consecutive blank lines inside code blocks.
Color white
should be written in hexadecimal form as #ffffff
Open
color: white;
- Exclude checks
Line length Open
There are two repositories for this project: the [GitLab source repository][gitlab-repo] and the [GitHub mirror][github-repo]. The GitHub mirror is used for the [Code Climate dashboard][cc-dashboard] integration.
- Read upRead up
- Exclude checks
MD013 - Line length
Tags: line_length
Aliases: line-length Parameters: linelength, codeblocks, tables (number; default 80, boolean; default true)
This rule is triggered when there are lines that are longer than the configured line length (default: 80 characters). To fix this, split the line up into multiple lines.
This rule has an exception where there is no whitespace beyond the configured line length. This allows you to still include items such as long URLs without being forced to break them in the middle.
You also have the option to exclude this rule for code blocks and tables. To
do this, set the code_blocks
and/or tables
parameters to false.
Code blocks are included in this rule by default since it is often a requirement for document readability, and tentatively compatible with code rules. Still, some languages do not lend themselves to short lines.
Avoid qualifying class selectors with an element. Open
section.external-links > div.icon-bar {
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
justify-content: center;
- Exclude checks
Avoid qualifying class selectors with an element. Open
div.icon-bar > a.icon-link > img[class$="-logo"] {
- Exclude checks
Color literals like black
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
background: black;
- Exclude checks
Element (section.external-links) is overqualified, just use .external-links without element name. Open
section.external-links > div.icon-bar {
- Exclude checks
Line length Open
All commits to the GitLab `master` branch will trigger an automatic deployment pipeline. Nick is the only one who can commit to `master`. All others must [open a MR][new-mr] in GitLab, which will then be reviewed, approved, and deployed.
- Read upRead up
- Exclude checks
MD013 - Line length
Tags: line_length
Aliases: line-length Parameters: linelength, codeblocks, tables (number; default 80, boolean; default true)
This rule is triggered when there are lines that are longer than the configured line length (default: 80 characters). To fix this, split the line up into multiple lines.
This rule has an exception where there is no whitespace beyond the configured line length. This allows you to still include items such as long URLs without being forced to break them in the middle.
You also have the option to exclude this rule for code blocks and tables. To
do this, set the code_blocks
and/or tables
parameters to false.
Code blocks are included in this rule by default since it is often a requirement for document readability, and tentatively compatible with code rules. Still, some languages do not lend themselves to short lines.
Avoid qualifying class selectors with an element. Open
h1.page-title {
- Exclude checks