diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index cef3e38..7796d00 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,5 +16,4 @@ jobs: uses: avto-dev/markdown-lint@v1 with: args: '**/*.md' - config: './lint/config.changelog.yml' ignore: ./LICENSE.md diff --git a/.markdownlint.yml b/.markdownlint.yml new file mode 100644 index 0000000..95479c5 --- /dev/null +++ b/.markdownlint.yml @@ -0,0 +1,11 @@ +# markdownlint YAML configuration +--- + +# Default state for all rules +default: true + +# ignored rules +line-length: false +no-inline-html: false +first-line-h1: false +no-emphasis-as-header: false \ No newline at end of file diff --git a/lint/config/changelog.yml b/lint/config/changelog.yml deleted file mode 100644 index df50f09..0000000 --- a/lint/config/changelog.yml +++ /dev/null @@ -1,141 +0,0 @@ -default: false # includes/excludes all rules by default - -# Heading levels should only increment by one level at a time -MD001: true - -# Heading style -MD003: true - -# Unordered list style -MD004: true - -# Inconsistent indentation for list items at the same level -MD005: true - -# Consider starting bulleted lists at the beginning of the line -MD006: true - -# Unordered list indentation -MD007: true - -# Trailing spaces -MD009: true - -# Hard tabs -MD010: true - -# Reversed link syntax -MD011: true - -# Multiple consecutive blank lines -MD012: true - -# Line length -MD013: false - -# Dollar signs used before commands without showing output -MD014: false - -# No space after hash on atx style heading -MD018: true - -# Multiple spaces after hash on atx style heading -MD019: true - -# No space inside hashes on closed atx style heading -MD020: true - -# Multiple spaces inside hashes on closed atx style heading -MD021: true - -# Headings should be surrounded by blank lines -MD022: true - -# Headings must start at the beginning of the line -MD023: true - -# Multiple headings with the same content -MD024: - allow_different_nesting: true - -# Multiple top level headings in the same document -MD025: true - -# Trailing punctuation in heading -MD026: true - -# Multiple spaces after blockquote symbol -MD027: true - -# Blank line inside blockquote -MD028: false - -# Ordered list item prefix -MD029: - style: 'one' - -# Spaces after list markers -MD030: true - -# Fenced code blocks should be surrounded by blank lines -MD031: true - -# Lists should be surrounded by blank lines -MD032: true - -# Inline HTML -MD033: true - -# Bare URL used -MD034: true - -# Horizontal rule style -MD035: - style: '---' - -# Emphasis used instead of a heading -MD036: true - -# Spaces inside emphasis markers -MD037: true - -# Spaces inside code span elements -MD038: true - -# Spaces inside link text -MD039: true - -# Fenced code blocks should have a language specified -MD040: true - -# First line in file should be a top level heading -MD041: true - -# No empty links -MD042: true - -# Required heading structure -MD043: false - -# Proper names should have the correct capitalization -MD044: false - -# Images should have alternate text (alt text) -MD045: false - -# Code block style -MD046: - style: 'fenced' - -# Files should end with a single newline character -MD047: true - -# Code fence style -MD048: - style: 'backtick' - -# Custom rules: -CHANGELOG-RULE-001: true -CHANGELOG-RULE-002: true -CHANGELOG-RULE-003: true -CHANGELOG-RULE-004: true \ No newline at end of file