Skip to content

Commit 01e723e

Browse files
authored
Tests: Fix failing docs test (#1593)
1 parent 6690b06 commit 01e723e

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.vscode/settings.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,11 @@
1010
},
1111
"eslint.validate": ["javascript", "typescript"],
1212
"files.insertFinalNewline": true,
13-
"files.trimTrailingWhitespace": true
13+
"files.trimTrailingWhitespace": true,
14+
"json.schemas": [
15+
{
16+
"fileMatch": ["/.htmlhintrc"],
17+
"url": "https://json.schemastore.org/htmlhint.json"
18+
}
19+
]
1420
}

test/rules/documentation.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ describe('Rules documentation', () => {
2323
'rules'
2424
)
2525
)
26-
.map((doc) => doc.replace('.md', ''))
26+
.map((doc) => doc.replace('.mdx', ''))
2727

2828
const rulesListPage = fs.readFileSync(
2929
path.join(

website/.htmlhintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"inline-style-disabled": false,
2222
"input-requires-label": false,
2323
"script-disabled": false,
24-
"space-tab-mixed-disabled": true,
24+
"space-tab-mixed-disabled": false,
2525
"spec-char-escape": false,
2626
"src-not-empty": true,
2727
"style-disabled": false,

0 commit comments

Comments
 (0)