Skip to content

Adding rule for recommendation phrasing#90

Merged
clreaume merged 1 commit into
mainfrom
cara/add-rule-for-recommended-phrasing
Apr 29, 2026
Merged

Adding rule for recommendation phrasing#90
clreaume merged 1 commit into
mainfrom
cara/add-rule-for-recommended-phrasing

Conversation

@clreaume

Copy link
Copy Markdown
Contributor

What does this PR do?

adds a warning for passive "it is recommended" phrasing and suggests using "Datadog recommends" instead.

Motivation

@buraizu reminded me of this convention in his review of my PR! thanks Bryce!

Release

I don't think this PR requires a release! looking at the Releases page, they seem infrequent and not required for new rules to be disseminated to this repo's users

  • YES, this PR requires a release
  • NO, this PR doesn't need a release

Additional Notes

n/a


Release checklist

  • Create zip files for EACH style folder.
  • Attach the zip files when creating a release.

@clreaume clreaume requested a review from a team as a code owner April 23, 2026 20:25
@@ -0,0 +1,9 @@
# This file is used to lint passive "it is recommended" phrasing.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A very meta suggestion for the comment: 😅

  • Use this file to lint passive "it is recommended" phrasing.
  • Lint passive "it is recommended" phrasing using this file.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOL @iadjivon ! this is such a valid suggestion, especially given the purpose of the file. however, it looks like all the files in https://github.com/DataDog/datadog-vale/tree/main/styles/Datadog have a comment that uses this "This file is used to..." structure. so I will keep it passive for consistency 😭

@iadjivon iadjivon left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this lint!!

@clreaume clreaume merged commit 0efbf63 into main Apr 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants