Skip to content

Commit 6918bf2

Browse files
authored
Add heading increment rule (#22)
* Add heading increment rule * Fix test
1 parent 207b296 commit 6918bf2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

style/accessibility.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"no-duplicate-header": true,
55
"no-emphasis-as-header": true,
66
"no-generic-link-text": true,
7+
"no-heading-increment": true,
78
"no-space-in-links": false,
89
"ol-prefix": "ordered",
910
"single-h1": true,

test/usage.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ describe("usage", () => {
1717
"no-space-in-links": false,
1818
"single-h1": true,
1919
"no-emphasis-as-header": true,
20+
"no-heading-increment": true,
2021
"no-generic-link-text": true,
2122
"ul-style": true,
2223
default: true,

0 commit comments

Comments
 (0)