Skip to content

Commit fa98bba

Browse files
authored
Updates YAMLlint and markdownlint (#181)
1 parent 923b771 commit fa98bba

File tree

7 files changed

+20
-15
lines changed

7 files changed

+20
-15
lines changed

.github/dependabot.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
---
2+
13
version: 2
24
updates:
35
- package-ecosystem: "github-actions"

.github/workflows/auto-merge.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
23
name: auto-merge
34

45
on:

.github/workflows/check_deps.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
---
2+
13
name: Check Dependencies
24

35
on:

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
---
2+
13
name: CI
24

35
on:

.markdownlint.yaml

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
---
22
default: true
3-
line-length: false
43

5-
MD033: false
4+
# no-hard-tabs
5+
MD010:
6+
code_blocks: false
7+
8+
# no-multiple-blanks
9+
MD012:
10+
maximum: 2
11+
12+
# line-length
13+
MD013: false

.yamllint

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
extends: default
33
rules:
4-
document-start: false
54
line-length:
65
max: 256
76
level: warning

BENCHMARKING.md

+3-12
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ The latest benchmark was run on 2024/10/06 by @whatyouhide, on an 2021 Apple Mac
6060

6161
In these conditions, `erldns` can serve around 58k queries per second. The details of the benchmark are below.
6262

63-
<details>
64-
<summary>Input queries file</summary>
63+
#### Input queries file
6564

6665
```text
6766
thumbs2.ebaystatic.com. AAAA
@@ -72,19 +71,13 @@ example.com. A
7271
www.example.com. CNAME
7372
```
7473

75-
</details>
76-
77-
<details>
78-
<summary>Command</summary>
74+
#### Command
7975

8076
```shell
8177
dnsperf -p 8053 -d ./queries.txt -T 4 -c 20 -n 10000
8278
```
8379

84-
</details>
85-
86-
<details>
87-
<summary>Results</summary>
80+
#### Results
8881

8982
```text
9083
DNS Performance Testing Tool
@@ -110,5 +103,3 @@ Statistics:
110103
Average Latency (s): 0.001682 (min 0.000085, max 0.006491)
111104
Latency StdDev (s): 0.001155
112105
```
113-
114-
</details>

0 commit comments

Comments
 (0)