Skip to content

Commit

Permalink
Add markdownlint
Browse files Browse the repository at this point in the history
Add a Markdown linter.
  • Loading branch information
martincostello committed Sep 28, 2024
1 parent e10a3e2 commit abfc544
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a bug report to help us improve the library
title: ''
labels: 'bug'
assignees: ''

---

<!--
Expand Down Expand Up @@ -33,7 +32,7 @@ assignees: ''

## System information

- OS: [e.g. Windows 10]
- OS: [e.g. Windows 11]
- Library Version [e.g. 0.1.0]
- .NET version [e.g. output from `dotnet --info`]
- IDE and version [e.g. Visual Studio 16.3.7]
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Suggest an idea for a feature of this library
title: ''
labels: ''
assignees: ''

---

<!--
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,10 @@ jobs:
uses: docker://rhysd/actionlint@sha256:89d3f90f82781dee3c8724651129634b08cf2241bbd67fcd02a1c5198119fc5e # v1.7.2
with:
args: -color

- name: Lint markdown
uses: DavidAnson/markdownlint-cli2-action@db43aef879112c3119a410d69f66701e0d530809 # v17.0.0
with:
config: '.markdownlint.json'
globs: |
**/*.md
4 changes: 4 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"MD013": false,
"MD040": false
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,15 +441,15 @@ Any feedback or issues can be added to the issues for this project in [GitHub](h
## Repository
The repository is hosted in [GitHub](https://github.com/martincostello/lambda-test-server "This project on GitHub.com"): [https://github.com/martincostello/lambda-test-server.git](https://github.com/martincostello/lambda-test-server.git)
The repository is hosted in [GitHub](https://github.com/martincostello/lambda-test-server "This project on GitHub.com"): <https://github.com/martincostello/lambda-test-server.git>
## License
This project is licensed under the [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt "The Apache 2.0 license") license.
## Building and Testing
Compiling the library yourself requires Git and the [.NET SDK](https://dotnet.microsoft.com/en-us/download "Download the .NET SDK") to be installed.
Compiling the library yourself requires Git and the [.NET SDK](https://dotnet.microsoft.com/download "Download the .NET SDK") to be installed.
To build and test the library locally from a terminal/command-line, run one of the following set of commands:
Expand Down

0 comments on commit abfc544

Please sign in to comment.