Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
46 changes: 23 additions & 23 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: Lint
"on":
push:
pull_request:
jobs:
markdownlint:
name: Markdown
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DavidAnson/markdownlint-cli2-action@v19
with:
globs: "**/*.md"
yamllint:
name: YAML
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pip install yamllint
- run: yamllint --format github .
name: Lint

"on":
push:
pull_request:

jobs:
markdownlint:
name: Markdown
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DavidAnson/markdownlint-cli2-action@v19
with:
globs: "**/*.md"

yamllint:
name: YAML
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pip install yamllint
- run: yamllint --format github .
16 changes: 8 additions & 8 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
default: true
# Line length — relaxed to accommodate the ASCII circuit diagram
# and table rows which can be naturally wide
MD013:
line_length: 120
code_blocks: false # don't enforce line length inside fenced code blocks
tables: false # don't enforce line length inside tables
default: true

# Line length — relaxed to accommodate the ASCII circuit diagram
# and table rows which can be naturally wide
MD013:
line_length: 120
code_blocks: false # don't enforce line length inside fenced code blocks
tables: false # don't enforce line length inside tables
22 changes: 11 additions & 11 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
extends: default
ignore: |
.markdownlint.yaml
rules:
line-length:
max: 120
truthy:
check-keys: false
document-start: disable
extends: default

ignore: |
.markdownlint.yaml

rules:
line-length:
max: 120
truthy:
check-keys: false
document-start: disable