Skip to content

Commit

Permalink
Merge pull request #140 from Decompollaborate/develop
Browse files Browse the repository at this point in the history
1.17.4
  • Loading branch information
AngheloAlf authored Oct 7, 2023
2 parents 0c16243 + c8f488c commit b48eed5
Show file tree
Hide file tree
Showing 9 changed files with 1,524 additions and 40 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/md_lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Lint markdown files

# Build on every branch push, tag push, and pull request change:
on: [push, pull_request]

jobs:
checks:
runs-on: ubuntu-latest
name: Lint md files
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Lint markdown files
uses: articulate/actions-markdownlint@v1.1.0
with:
config: .markdownlint.jsonc
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ cython_debug/
#.idea/

# Text editor remnants
.vscode/
.vscode/*
!.vscode/extensions.json
.vs/
.idea/
CMakeLists.txt
Expand Down
14 changes: 14 additions & 0 deletions .markdownlint.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
// https://github.com/DavidAnson/markdownlint/blob/main/doc/md024.md
// MD024 - Multiple headings with the same content
"MD024": {
"siblings_only": true
},

// https://github.com/DavidAnson/markdownlint/blob/main/doc/md013.md
// MD013 - Line length
"MD013": {
"code_block_line_length": 120,
"headings": false
}
}
7 changes: 7 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"davidanson.vscode-markdownlint"
]
}
Loading

0 comments on commit b48eed5

Please sign in to comment.