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).

Consider starting bulleted lists at the beginning of the line
Open

 * PHP 7.4
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).

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

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.

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 length
Open

See the test directory for an example with two different usages. The test directory works as PWA, for examples see only the file `index.php`.
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 length
Open

My class supports currently the follow syntax. But Pull Request are really welcome and the solution give you the possibility to add your own rule.
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 an indentation at 0 instead of at 1.
Open

 * [Thüringen erfahren - a one pager for a bicycle event](https://bueltge.de/thueringen-erfahren/)
Severity: Minor
Found in README.md by editorconfig

Expected an indentation at 0 instead of at 1.
Open

 * [MarkSimple Tests](https://bueltge.de/marksimple/test/)
Severity: Minor
Found in README.md by editorconfig

Expected an indentation at 0 instead of at 1.
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: Minor
Found in README.md by editorconfig

Expected an indentation at 0 instead of at 1.
Open

 * Break, new line, `<br>`
Severity: Minor
Found in README.md by editorconfig

Expected an indentation at 0 instead of at 1.
Open

 <file>./src</file>
Severity: Minor
Found in phpcs.xml by editorconfig

Unexpected tabs found.
Open

        "sort-packages": true,
Severity: Minor
Found in composer.json 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

Expected an indentation at 0 instead of at 1.
Open

 * [Learn Regex The Easy Way](https://github.com/zeeshanu/learn-regex)
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

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

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

 * Unordered list, `ul` - `*` for each line
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
Severity
Category
Status
Source
Language