markdown lint not finding files in sub directory #18

Closed
opened 2022-01-30 05:51:37 +00:00 by jon_nfc · 5 comments
jon_nfc commented 2022-01-30 05:51:37 +00:00 (Migrated from gitlab.com)

📝 Summary

Markdown is passing validation see this job where it found no markdown files to lint.

👷 Tasks

  • get markdown linting working for whole directory tree

  • be able to specify the linting type.

    if md_lint_type=mkdocs, it will copy the mkdocs linting rule file to the repo root and use that for linting. if md_lint_type is not specified, it will not copy the lint rules over.

    • doesn't override rules in repo root if they exist.
## :pencil: Summary Markdown is passing validation see [this job](https://gitlab.com/jon_nfc/website/-/jobs/2031695093#L46-L48) where it found no markdown files to lint. ### :link: References - [CLI Reference](https://github.com/DavidAnson/markdownlint-cli2#command-line) ### :construction_worker: Tasks - [ ] get markdown linting working for whole directory tree - [ ] be able to specify the linting type. if `md_lint_type=mkdocs`, it will copy the mkdocs linting rule file to the repo root and use that for linting. if `md_lint_type` is not specified, it will not copy the lint rules over. - [ ] doesn't override rules in repo root if they exist.
jon_nfc commented 2022-01-30 05:52:31 +00:00 (Migrated from gitlab.com)

mentioned in merge request !17

mentioned in merge request !17
jon_nfc commented 2022-01-30 05:54:13 +00:00 (Migrated from gitlab.com)

added 14m of time spent

added 14m of time spent
jon_nfc commented 2022-01-31 00:45:22 +00:00 (Migrated from gitlab.com)

mentioned in merge request !19

mentioned in merge request !19
jon_nfc commented 2022-01-31 00:59:37 +00:00 (Migrated from gitlab.com)

mentioned in commit f6d7ebeeb2

mentioned in commit f6d7ebeeb2b9d643c37ccbe6e25fa8d7e9dd970d
jon_nfc (Migrated from gitlab.com) closed this issue 2022-01-31 00:59:37 +00:00
jon_nfc commented 2022-01-31 01:00:05 +00:00 (Migrated from gitlab.com)

assigned to @jon_nfc

assigned to @jon_nfc
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: infrastructure/gitlab-ci#18
No description provided.