-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from simatic-ax/lint_md
doc: add linter for markdown
- Loading branch information
Showing
7 changed files
with
77 additions
and
60 deletions.
There are no files selected for viewing
This file contains 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,19 @@ | ||
name: linter checks | ||
on: | ||
push: | ||
|
||
jobs: | ||
linter: | ||
name: "Linter Checks" | ||
runs-on: ubuntu-latest | ||
|
||
|
||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Check markdown files | ||
uses: avto-dev/markdown-lint@v1 | ||
with: | ||
args: '**/*.md' | ||
ignore: ./LICENSE.md |
This file contains 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 @@ | ||
# 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 |
This file contains 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 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 was deleted.
Oops, something went wrong.
This file contains 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 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 |
---|---|---|
@@ -1,20 +1,22 @@ | ||
# JsonObject | ||
|
||
### Definition | ||
## Definition | ||
|
||
Inheritance: AbstractJsonElement-->JsonObject | ||
|
||
### Public members | ||
## Public members | ||
|
||
||| | ||
|-|-| | ||
|value : DINT;| Value of this element | ||
|key : STRING := 'NoKeySet';| Key of this element | ||
|
||
### Methods | ||
## Methods | ||
|
||
||| | ||
|-|-| | ||
|ToString() : STRING;| Returns the JSON string of this element| | ||
|GetRootElement() : IJsonElement| Returns root element of the JSON object| | ||
|AddElement(elem : IJsonElement)| Add a new element to the JSON object| | ||
||| | ||
--- | ||
--- |