-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* markdownlint config * run markdownlint-cli2-fix * ignore line length in tables * fix linter issues in docs markdown files * markdown-cli2-fix * fix linter issues in ui readme * add markdown linter CI action * wrap filenames in code block * run markdownlint-cli2-fix (forgot some files) * fix remaining documents * add some files to ignore list in markdownlint ci action * fix formatting * fix indentations * fix markdownlint globs * remove rule that requires uppercase Go * make target markdown-lint * update pre-push git hook to lint markdown files
- Loading branch information
1 parent
57de7b0
commit cd45646
Showing
22 changed files
with
621 additions
and
423 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,21 @@ | ||
name: markdown-lint | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- '**.md' | ||
|
||
jobs: | ||
markdownlint-cli2: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: DavidAnson/markdownlint-cli2-action@v9 | ||
with: | ||
globs: | | ||
**/*.md | ||
!ui/node_modules | ||
!LICENSE.md | ||
!pkg/web/openapi/** | ||
!.github/*.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,45 @@ | ||
code-block-style: | ||
style: fenced | ||
|
||
code-fence-style: | ||
style: backtick | ||
|
||
emphasis-style: | ||
style: underscore | ||
|
||
strong-style: | ||
style: asterisk | ||
|
||
fenced-code-language: | ||
language_only: true | ||
|
||
heading-style: | ||
style: atx | ||
|
||
hr-style: | ||
style: "---" | ||
|
||
line-length: | ||
line_length: 120 | ||
code_blocks: false | ||
tables: false | ||
|
||
no-duplicate-heading: | ||
siblings_only: true | ||
|
||
ol-prefix: | ||
style: ordered | ||
|
||
ul-style: | ||
style: dash | ||
|
||
no-hard-tabs: | ||
# allow hard tabs in Go code blocks | ||
ignore_code_languages: [go] | ||
spaces_per_tab: 2 | ||
|
||
proper-names: | ||
code_blocks: false | ||
names: | ||
- JavaScript | ||
- Conduit |
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 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
Oops, something went wrong.