Skip to content

Commit cc319d0

Browse files
anufdojbampton
andauthored
Add more pre commit hooks (#154)
--------- Co-authored-by: John Bampton <[email protected]>
1 parent 41472cd commit cc319d0

24 files changed

+51
-40
lines changed

.markdown-link-check.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"timeout": "10s",
3+
"retryOn429": true,
4+
"retryCount": 10,
5+
"aliveStatusCodes": [200, 206, 999]
6+
}

.pre-commit-config.yaml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,26 @@ repos:
2828
# hooks:
2929
# - id: remove-tabs
3030
- repo: https://github.com/codespell-project/codespell
31-
rev: v2.2.6
31+
rev: v2.3.0
3232
hooks:
3333
- id: codespell
3434
name: Run codespell
3535
description: Check spelling with codespell
3636
entry: codespell --ignore-words=codespell.txt
3737
exclude: ^_site/.*$|^vendor/.*$
38-
# - repo: https://github.com/igorshubovych/markdownlint-cli
39-
# rev: v0.27.1
40-
# hooks:
41-
# - id: markdownlint
42-
# name: Run markdownlint
43-
# entry: markdownlint -c .github/linters/.markdown-lint.yml .
44-
# exclude: ^\.github/.*$|^_site/.*$|^vendor/.*$
38+
- repo: https://github.com/igorshubovych/markdownlint-cli
39+
rev: v0.41.0
40+
hooks:
41+
- id: markdownlint
42+
name: Run markdownlint
43+
entry: markdownlint --fix -c .github/linters/.markdown-lint.yml .
44+
exclude: ^\.github/.*$|^_site/.*$|^vendor/.*$
45+
- repo: https://github.com/tcort/markdown-link-check
46+
rev: v3.12.2
47+
hooks:
48+
- id: markdown-link-check
49+
args: ["-q", "-c", ".markdown-link-check.json"]
50+
files: ^(?!.*(network|blog|index)\.md$).*\.md$
4551
- repo: https://github.com/pre-commit/mirrors-prettier
4652
rev: v4.0.0-alpha.8
4753
hooks:

404.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ layout: default
33
---
44

55
<h1>
6-
<a href="/">&uarr;</a>
7-
404 Error
6+
<a href="/">&uarr;</a>
7+
404 Error
88
</h1>
99

1010
This page does not exist. Please use the navigation to get to a working page.

_layouts/network.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ title: Network Profile
2222
<tr>
2323
<td valign="top">
2424
<a href="https://github.com/{{ page.github }}/">
25-
<img src="https://github.com/{{ page.github }}.png?size=80" width="60">
25+
<img src="https://github.com/{{ page.github }}.png?size=80" width="60" alt="github page">
2626
</a>
2727
</td>
2828
<td>

_networks/IgbinosaIwinosa.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: network
33
permalink: /network/Igbinosaiwinosa
44
name: Igbinosa Iwinosa
55
github: Favourene
6-
website: www.iwinosa.me
6+
website:
77
88
instagram: Favoureneosas
99
twitter: Favourene4

_networks/MaxianEdison.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: network
33
permalink: /MaxianEdison/
44
name: MaximilianEdison
55
github: MaxianEdison
6-
website: https://MaximilianEdison.com
6+
website:
77
88
instagram: https://www.instagram.com/MaxianEdison
99
twitter:

_networks/SushantAdh07.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ layout: network
22
permalink: /network/SushantAdh07/
33
name: Sushant Adhikari
44
github: SushantAdh07
5-
website: https://sushantadh07.github.io/
6-
5+
website: <https://sushantadh07.github.io/>
6+
77
instagram:
88
twitter:
99
linkedin:

_networks/ajakov.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ languages: php js css3 html5
1616

1717
16+ years of experience.
1818

19-
_SKILLS_
19+
# _SKILLS_
2020

2121
- PHP - Symfony 2/3/4/5, Drupal, WordPress, eZPlatform, Sulu, swoole
2222
- Javascript, HTML, CSS, MySQL, PostgreSQL

_networks/alifiroozidev.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: network
33
permalink: /network/alifiroozidev/
44
name: Ali Firoozi
55
github: alifiroozidev
6-
website: https://alifiroozi.dev/
6+
website:
77
88
instagram: alifiroozi.art
99
twitter:

_networks/anekenonso.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: network
33
permalink: /network/anekenonso
44
name: Okenwa Kenneth
55
github: Anekenonso
6-
website: http://anekenonso.com
6+
website:
77
88
country: Nigeria
99
location: Enugu

0 commit comments

Comments
 (0)