We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As discussed in a Slack call and mentioned in https://github.com/piotrpdev/electron/commit/06cc0196c8a5970cd1ee3faade3c8fe49d745850, comments shouldn't be allowed in API History YAML.
Therefore, adding a check for them in the linter would be useful. You can probably just use a RegExp.
Most of them are already caught by checkStrings:
checkStrings
lint-roller/bin/lint-markdown-api-history.ts
Line 20 in e392dee
Lines 201 to 238 in e392dee
But a line comment is not caught:
<!-- ```YAML history added: # This comment is not caught - pr-url: https://github.com/electron/electron/pull/22533 ``` -->
The text was updated successfully, but these errors were encountered:
feat(api-history): --disallow-comments
--disallow-comments
6a5ed31
Reference: #79
feat(api-history): --disallow-comments (#81)
3d87b7b
* feat(api-history): `--check-descriptions` Reference: #78 (comment) * test(api-history): description test * fix(api-history): only double quotes * feat(api-history): `--disallow-comments` Reference: #79 * feat(api-history): traverse tree instead * fix(api-history): description `for` loop Co-authored-by: David Sanders <[email protected]> Reference: #80 (comment) * style(api-history): fix lint, leave comment --------- Co-authored-by: David Sanders <[email protected]>
🎉 This issue has been resolved in version 2.4.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
As discussed in a Slack call and mentioned in https://github.com/piotrpdev/electron/commit/06cc0196c8a5970cd1ee3faade3c8fe49d745850, comments shouldn't be allowed in API History YAML.
Therefore, adding a check for them in the linter would be useful. You can probably just use a RegExp.
Most of them are already caught by
checkStrings
:lint-roller/bin/lint-markdown-api-history.ts
Line 20 in e392dee
lint-roller/bin/lint-markdown-api-history.ts
Lines 201 to 238 in e392dee
But a line comment is not caught:
The text was updated successfully, but these errors were encountered: