chore: mark markdown output from process-messages as generated (#13913)

* chore: mark markdown output from process-messages as generated

* regenerate
pull/14095/head
Conduitry 5 days ago committed by GitHub
parent cf25930512
commit 2ab70041fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,3 +1,5 @@
<!-- This file is generated by scripts/process-messages/index.js. Do not edit! -->
### bind_invalid_checkbox_value
```

@ -1,3 +1,5 @@
<!-- This file is generated by scripts/process-messages/index.js. Do not edit! -->
### binding_property_non_reactive
```

@ -1,3 +1,5 @@
<!-- This file is generated by scripts/process-messages/index.js. Do not edit! -->
### animation_duplicate
```

@ -1,3 +1,5 @@
<!-- This file is generated by scripts/process-messages/index.js. Do not edit! -->
### a11y_accesskey
```

@ -1,3 +1,5 @@
<!-- This file is generated by scripts/process-messages/index.js. Do not edit! -->
### lifecycle_function_unavailable
```

@ -1,3 +1,5 @@
<!-- This file is generated by scripts/process-messages/index.js. Do not edit! -->
### invalid_default_snippet
```

@ -1,3 +1,5 @@
<!-- This file is generated by scripts/process-messages/index.js. Do not edit! -->
### dynamic_void_element_content
```

@ -62,18 +62,20 @@ for (const category of fs.readdirSync('messages')) {
fs.writeFileSync(
`${DIR}/${category}.md`,
Object.entries(messages[category])
.map(([code, { messages, details }]) => {
const chunks = [`### ${code}`, ...messages.map((message) => '```\n' + message + '\n```')];
'<!-- This file is generated by scripts/process-messages/index.js. Do not edit! -->\n\n' +
Object.entries(messages[category])
.map(([code, { messages, details }]) => {
const chunks = [`### ${code}`, ...messages.map((message) => '```\n' + message + '\n```')];
if (details) {
chunks.push(details);
}
if (details) {
chunks.push(details);
}
return chunks.join('\n\n');
})
.sort()
.join('\n\n') + '\n'
return chunks.join('\n\n');
})
.sort()
.join('\n\n') +
'\n'
);
}

Loading…
Cancel
Save