From 85b98f2863b23d5ae3a68ca83b8a7a2cd18c8c42 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Sun, 14 Jul 2024 00:56:00 +1000 Subject: [PATCH] fix ups for pre-commit (#167) --- .pre-commit-config.yaml | 7 +------ _networks/jbampton.md | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 897a3d27..7dc0a816 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,7 +40,7 @@ repos: hooks: - id: markdownlint name: Run markdownlint - entry: markdownlint --fix -c .github/linters/.markdown-lint.yml . + args: [--config=.github/linters/.markdown-lint.yml] exclude: ^\.github/.*$|^_site/.*$|^vendor/.*$ - repo: https://github.com/tcort/markdown-link-check rev: v3.12.2 @@ -48,11 +48,6 @@ repos: - id: markdown-link-check args: ["-q", "-c", ".markdown-link-check.json"] files: ^(?!.*(network|blog|index)\.md$).*\.md$ - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v4.0.0-alpha.8 - hooks: - - id: prettier - exclude: \.html$|^_site/.*$ - repo: https://github.com/adrienverge/yamllint rev: v1.35.1 hooks: diff --git a/_networks/jbampton.md b/_networks/jbampton.md index fd965280..f3efdd44 100644 --- a/_networks/jbampton.md +++ b/_networks/jbampton.md @@ -26,7 +26,7 @@ irb(main):003:0> exit RobyGems@Universe~ $ ``` -You can read up more on [Interactive Ruby shell](https://ruby-doc.org/stdlib-3.0.0/libdoc/irb/rdoc/IRB.html) or irb [here](https://en.wikipedia.org/wiki/Interactive_Ruby_Shell) +You can read up more on [Interactive Ruby shell](https://ruby-doc.org/stdlib-3.0.0/libdoc/irb/rdoc/IRB.html) or irb [here](https://github.com/ruby/irb) If you have Ruby installed you can run: