-
Notifications
You must be signed in to change notification settings - Fork 943
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GitHub CI check for Markdownlint (#948)
* Add GitHub CI check for Markdownlint * Fix markdownlint errors * Recommend VSCode extension for Markdownlint * Convert tabs to spaces * Remove extensions.json in favor of separate PR * Replace JSON config with YAML for comments * service/state: Implement balance verification against `AppHash` (#911) * refactor: extract HeaderGetter interface from daser into header pkg * refactor: delete interface.go file from das pkg * refactor: Store interface wraps getter methods * chore: rebase fixes * feat: add `/verified_balance` endpoint * chore: lint * refactor: dedup handleBalanceRequest * docs: update state ADR * refactor: consolidate verified_balance and balance endpoints --> verify balance by default * chore: replace TODOs with PR refs * refactor: apply john review comments * refactor: extract sdk error func into helpers file, rename import aliases * doc: update ADR header.Store -> header.Getter * Fix indentation in Go struct Co-authored-by: rene <[email protected]>
- Loading branch information
Showing
14 changed files
with
356 additions
and
292 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,22 @@ | ||
name: Markdown Lint | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
markdown-lint: | ||
name: Markdown Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
- run: | | ||
npm install -g [email protected] | ||
markdownlint --config .markdownlint.yaml **/*.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,3 @@ | ||
"default": true # Default state for all rules | ||
"MD013": false # Disable rule for line length | ||
"MD033": false # Disable rule banning inline HTML |
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.