Open opeco17 opened 1 year ago
/triage accepted /assign @opeco17
This issue has not been updated in over 1 year, and should be re-triaged.
You can:
/triage accepted
(org members only)/close
For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/
/remove-triage accepted
/unassign @opeco17 /help /triage accepted
@dgrisonnet: This request has been marked as needing help from a contributor.
Please ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help
command.
@dgrisonnet
Hello,
I checked this with make lint-markdown-format
.
We have a lot of tables in .md files, so I think it's challenging to enable MD013(line-length) and MD033(inline-html).
If we limit the scope to MD024, MD036, MD040, and md041, I can enable it.
The updated .markdownlint-cli2.jsonc
is as follows:
{
"globs": [
"**/*.md"
],
"config": {
"MD004": {
"style": "asterisk"
},
"MD013": false, // https://github.com/markdownlint/markdownlint/blob/main/docs/RULES.md#md013---line-length
"MD033": false, // https://github.com/markdownlint/markdownlint/blob/main/docs/RULES.md#md033---inline-html
}
}
What do you think? Thank you.
What would you like to be added:
We introduced markdownlint-cli2 in https://github.com/kubernetes/kube-state-metrics/pull/2184. But the following rules can't be fixed automatically by markdownlint-cli2 and they're disabled in this configuration.
The format should be fixed manually and then the rules should be enabled.
Why is this needed:
To improve readability of Markdown files
Describe the solution you'd like
Fix the format of Markdown files and enable the rule in this file.
Additional context