-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address feedback, fix linter warnings and add CI workflow (#36)
* fix: remark-lint:unordered-list-marker-style Marker style should be - `npx awesome-lint README.md` * fix: MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## React"] * fix: MD007/ul-indent Unordered list indentation [Expected: 2; Actual: 4] * fix: MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2] * ci: run linters * The description starts with an uppercase character and ends with a period. * Improve list * Fix name inconsistencies * Improve list * Improve description * fix: remark-lint:awesome-list-item List item link and description must be separated with a dash
- Loading branch information
1 parent
aedf773
commit 75df786
Showing
4 changed files
with
81 additions
and
27 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,43 @@ | ||
name: Lint | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
lychee: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Check links | ||
id: lychee | ||
uses: lycheeverse/[email protected] | ||
with: | ||
# Exclude twitter.com (https://github.com/lycheeverse/lychee/issues/989) | ||
args: README.md --verbose --no-progress --exclude twitter.com | ||
fail: true | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
markdown: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: DavidAnson/markdownlint-cli2-action@v15 | ||
with: | ||
globs: | | ||
README.md | ||
contributing.md | ||
awesome-lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- run: npx awesome-lint |
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,8 @@ | ||
# MD013/line-length | ||
MD013: false | ||
# False positive with C# heading | ||
#README.md:53 MD003/heading-style Heading style [Expected: atx; Actual: atx_closed] | ||
#README.md:53:4 MD020/no-missing-space-closed-atx No space inside hashes on closed atx style heading [Context: "## C#"] | ||
MD003: false | ||
MD020: 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