Skip to content

Commit

Permalink
add remark config
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Sep 20, 2023
1 parent 4dd231d commit 9d13faf
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 21 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/check_md_links.yml

This file was deleted.

9 changes: 4 additions & 5 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- name: Run Python script to check for Latin phrases - Master
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
- name: Run Python script to check for Latin phrases
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: |
python no-bad-latin.py
working-directory: tools
Expand All @@ -53,15 +53,14 @@ jobs:
validate_cff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Check whether the citation metadata from CITATION.cff is valid
uses: citation-file-format/[email protected]
with:
args: --validate


markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v4
- uses: gaurav-nelson/github-action-markdown-link-check@v1
15 changes: 15 additions & 0 deletions .remarkrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"plugins": [
"preset-lint-markdown-style-guide",
"preset-lint-recommended",
"remark-gfm",
["lint-no-duplicate-headings", false],
["lint-list-item-indent", "tab-size"],
["lint-emphasis-marker", "consistent"],
["lint-maximum-line-length", false],
["lint-maximum-heading-length", false],
["lint-no-shortcut-reference-link", false],
["lint-no-trailing-spaces"],
["lint-no-undefined-references", false]
]
}

0 comments on commit 9d13faf

Please sign in to comment.