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

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

* regenerate
pull/14095/head
Conduitry 2 months 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,6 +62,7 @@ for (const category of fs.readdirSync('messages')) {
fs.writeFileSync(
`${DIR}/${category}.md`,
'<!-- 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```')];
@ -73,7 +74,8 @@ for (const category of fs.readdirSync('messages')) {
return chunks.join('\n\n');
})
.sort()
.join('\n\n') + '\n'
.join('\n\n') +
'\n'
);
}

Loading…
Cancel
Save