-
Notifications
You must be signed in to change notification settings - Fork 48
Markdownlint GitHub #122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Markdownlint GitHub #122
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
8cb49fe
Adding markdownlinter
Gijsreyn 457a993
Adding markdownlinter
Gijsreyn 3ce46f0
Fix name
Gijsreyn ab5bc36
Add recommendation to install extension
Gijsreyn 5c71b63
Gradually start Markdownlint
Gijsreyn 6303e67
Add linter to rules of software
Gijsreyn bc52cfb
Exclude main
Gijsreyn 172cb1d
Remove extension
Gijsreyn b195b58
Merge branch 'main' into markdownlint-github
Gijsreyn 512f577
Add extension after merge
Gijsreyn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,3 +6,4 @@ cspell | |
| NUnit | ||
| reportgenerator | ||
| Toolpackage | ||
| markdownlint | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| name: Markdown Lint | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - '**' | ||
| - '!main' | ||
| tags-ignore: | ||
| - '**' | ||
| pull_request_target: | ||
| branches: | ||
| - '**' | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we be running on every pull request, or should it be only those that target into
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess only for the PRs, the same as spell checker? |
||
| tags-ignore: | ||
| - '**' | ||
| types: | ||
| - 'opened' | ||
| - 'reopened' | ||
| - 'synchronize' | ||
|
|
||
| jobs: | ||
| lint: | ||
| name: Check Markdown linting | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
| - uses: tj-actions/changed-files@v45 | ||
| id: changed-files | ||
| with: | ||
| files: '**/*.md' | ||
| - uses: DavidAnson/markdownlint-cli2-action@v17 | ||
| if: steps.changed-files.outputs.any_changed == 'true' | ||
| with: | ||
| globs: ${{ steps.changed-files.outputs.all_changed_files }} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| globs: | ||
| - "**/*.md" | ||
|
|
||
| noProgress: true | ||
|
|
||
| # Show found files on stdout (only valid at root) | ||
| showFound: true | ||
|
|
||
| ignores: | ||
| - "PRIVACY.md" | ||
| - ".github/*.md" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| # Default state for all rules | ||
| default: true | ||
|
|
||
| # Path to configuration file to extend | ||
| extends: null | ||
|
|
||
| MD007: | ||
| # Spaces for indent | ||
| indent: 4 | ||
| # Whether to indent the first level of the list | ||
| start_indented: false | ||
| # Spaces for first level indent (when start_indented is set) | ||
| start_indent: 2 | ||
|
|
||
| # MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md013.md | ||
| MD013: | ||
| # Number of characters | ||
| line_length: 500 | ||
| # Number of characters for headings | ||
| heading_line_length: 120 | ||
| # Number of characters for code blocks | ||
| code_block_line_length: 500 | ||
| # Include code blocks | ||
| code_blocks: true | ||
| # Include tables | ||
| tables: true | ||
| # Include headings | ||
| headings: true | ||
| # Strict length checking | ||
| strict: false | ||
| # Stern length checking | ||
| stern: false | ||
|
|
||
| # MD025/single-title : Help examples contain metadata | ||
| MD025: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.