Skip to content

Commit 26e0e6c

Browse files
committed
hotfix: fix 701fdcd
701fdcd disabled Markdown linting and intoduced a different note context to the README.md. This commit fixes that. Signed-off-by: Maryam Tahhan <[email protected]>
1 parent 701fdcd commit 26e0e6c

File tree

3 files changed

+55
-14
lines changed

3 files changed

+55
-14
lines changed

.markdownlint.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"code-block-style": {
3+
"style": "fenced"
4+
},
5+
"code-fence-style": {
6+
"style": "backtick"
7+
},
8+
"heading-style": {
9+
"style": "atx"
10+
},
11+
"hr-style": {
12+
"style": "---"
13+
},
14+
"line-length": {
15+
"strict": false,
16+
"code_blocks": false
17+
},
18+
"proper-names": {
19+
"code_blocks": false,
20+
"names": [
21+
"Markdown",
22+
"markdown-it",
23+
"markdownlint",
24+
"markdownlint-cli2"
25+
]
26+
},
27+
"strong-style": {
28+
"style": "asterisk"
29+
},
30+
"table-pipe-style": {
31+
"style": "leading_and_trailing"
32+
},
33+
"ul-style": {
34+
"style": "dash"
35+
},
36+
"no-duplicate-header" : {
37+
"allow_different_nesting": true
38+
},
39+
"MD033" : false,
40+
"MD041": false,
41+
"MD045": false,
42+
"MD025": {
43+
"front_matter_title": ""
44+
}
45+
}

.pre-commit-config.yaml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,14 @@ repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
55
rev: v2.3.0
66
hooks:
7-
- id: check-yaml
8-
- id: end-of-file-fixer
9-
- id: trailing-whitespace
10-
#- repo: https://github.com/markdownlint/markdownlint.git
11-
# rev: v0.13.0
12-
# hooks:
13-
#- id: markdownlint_docker
14-
#name: Markdownlint Docker
15-
#description: Run markdown lint on your Markdown files using the project docker image
16-
#language: docker_image
17-
#files: \.(md|mdown|markdown)$
18-
#entry: markdownlint/markdownlint
7+
- id: check-yaml
8+
- id: end-of-file-fixer
9+
- id: trailing-whitespace
10+
- repo: https://github.com/DavidAnson/markdownlint-cli2
11+
rev: v0.9.2
12+
hooks:
13+
- id: markdownlint-cli2-rules-docker
1914
- repo: https://github.com/shellcheck-py/shellcheck-py
2015
rev: v0.10.0.1
2116
hooks:
22-
- id: shellcheck
17+
- id: shellcheck

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ Will setup container runtime on your host instance.
3737

3838
## Startup
3939

40-
**note**: in 2024 July, we decoupled cluster config with kind cluster setup, so that we allow this repo to set up a existing cluster.
40+
> **_Note_**: in 2024 July, we decoupled cluster config with kind cluster setup,
41+
so that we allow this repo to set up a existing cluster.
4142

4243
1. Modify kind [config](./kind/manifests/kind.yml) to make sure `extraMounts:` cover
4344
the linux header and BCC.

0 commit comments

Comments
 (0)