bueltge/marksimple

View on GitHub

Showing 65 of 65 total issues

Consider starting bulleted lists at the beginning of the line
Open

 * Headers, `h1` - `h6` - `#` to `######` before the string
Severity: Info
Found in README.md by markdownlint

MD006 - Consider starting bulleted lists at the beginning of the line

Tags: bullet, ul, indentation

Aliases: ul-start-left

This rule is triggered when top level lists don't start at the beginning of a line:

Some text

  * List item
  * List item

To fix, ensure that top level list items are not indented:

Some test

* List item
* List item

Rationale: Starting lists at the beginning of the line means that nested list items can all be indented by the same amount when an editor's indent function or the tab key is used to indent. Starting a list 1 space in means that the indent of the first nested list is less than the indent of the second level (3 characters if you use 4 space tabs, or 1 character if you use 2 space tabs).

Line length
Open

Good news, this plugin is free for everyone! Since it's released under the [MIT License](https://github.com/inpsyde/marksimple/blob/master/LICENSE) you can use it free of charge on your personal or commercial website.
Severity: Info
Found in README.md by markdownlint

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.

Hard tabs
Open

 * Code Blocks, `pre` - `    ` (4 spaces) or `    ` (tab) in each line or the fenced code blocks by placing triple backticks and optional the language identifier,
Severity: Info
Found in README.md by markdownlint

MD010 - Hard tabs

Tags: whitespace, hard_tab

Aliases: no-hard-tabs

This rule is triggered by any lines that contain hard tab characters instead of using spaces for indentation. To fix this, replace any hard tab characters with spaces instead.

Example:

Some text

    * hard tab character used to indent the list item

Corrected example:

Some text

    * Spaces used to indent the list item instead

Line length
Open

[![Maintainability](https://api.codeclimate.com/v1/badges/3ce79c7b4118c47951cc/maintainability "Maintainability")](https://codeclimate.com/github/bueltge/marksimple/maintainability)
Severity: Info
Found in README.md by markdownlint

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.

Line indented incorrectly; expected 8 spaces, found 12
Open

            static function (string $content, ElementRuleInterface $rule): string {
Severity: Minor
Found in src/Marksimple.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 12
Open

            },
Severity: Minor
Found in src/Marksimple.php by phpcodesniffer

Line length
Open

The class is simple and I use it for my own documentation, there I write in markdown. Here and there is the result a single oage to help in each day to find the right syntax, hints, background and others. You can see this on this examples:
Severity: Info
Found in README.md by markdownlint

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.

Expected a newline at the end of the file.
Open

  cd-risky: "⌽ "
Severity: Minor
Found in phpunit-printer.yml by editorconfig

Expected an indentation at 0 instead of at 1.
Open

 * Inline Code, `code` - an ``` backtick before and after the code string
Severity: Minor
Found in README.md by editorconfig

Expected an indentation at 0 instead of at 1.
Open

 * [regular expressions 101](https://regex101.com/)
Severity: Minor
Found in README.md by editorconfig

Unexpected tabs found.
Open

        }
Severity: Minor
Found in composer.json by editorconfig

Unexpected tabs found.
Open

    },
Severity: Minor
Found in composer.json by editorconfig

Expected an indentation at 0 instead of at 1.
Open

 * [My Git Notes](https://bueltge.de/git/)
Severity: Minor
Found in README.md by editorconfig

Expected an indentation at 0 instead of at 1.
Open

 * Italic text, `em` - an `*` or `_` before and after the string
Severity: Minor
Found in README.md by editorconfig

Expected an indentation at 0 instead of at 1.
Open

 * Headers, `h1` - `h6` - `#` to `######` before the string
Severity: Minor
Found in README.md by editorconfig

Expected an indentation at 0 instead of at 1.
Open

 * Links, `a` - `[Link Text](Link URL)`
Severity: Minor
Found in README.md by editorconfig

Expected an indentation at 0 instead of at 1.
Open

 * [RegExr](https://regexr.com/)
Severity: Minor
Found in README.md by editorconfig

Unexpected additional newlines at the end of the file.
Open

Severity: Minor
Found in phpcs.xml by editorconfig

Expected an indentation at 0 instead of at 1.
Open

 * Horizontal line, `---`
Severity: Minor
Found in README.md by editorconfig

Expected an indentation at 0 instead of at 1.
Open

 * [GitHub Repository](https://github.com/bueltge/marksimple)
Severity: Minor
Found in README.md by editorconfig
Severity
Category
Status
Source
Language