Configure all rules that allow style=consistent (or similar) to require an explicit style for consistency across the project.

This commit is contained in:
David Anson 2022-11-13 20:53:10 -08:00
parent bb1c4d4ee6
commit 2e63bf7dd8
33 changed files with 149 additions and 117 deletions

View file

@ -75,7 +75,7 @@ for (const rule of rules) {
JSON.stringify(propData.default) :
propData.default;
const allValues = propData.enum?.sort();
const listItem = `* \`${property}\`: ${propData.description} (` +
const listItem = `- \`${property}\`: ${propData.description} (` +
`\`${propType}\`, default \`${defaultValue}\`` +
(propData.enum ?
`, values ${allValues.map((value) => `\`${value}\``).join(" / ")}` :