diff --git a/styles/Datadog/recommendations.yml b/styles/Datadog/recommendations.yml index 1e7b85a..7987b72 100644 --- a/styles/Datadog/recommendations.yml +++ b/styles/Datadog/recommendations.yml @@ -1,4 +1,4 @@ -# This file is used to lint passive "it is recommended" phrasing. +# This file is used to lint passive "it is (not) recommended" phrasing. extends: substitution message: "Use '%s' instead of '%s'." ignorecase: true @@ -6,4 +6,5 @@ level: warning action: name: replace swap: - "it(?:'s| is) recommended to": Datadog recommends + "it(?:'s| is) recommended": Datadog recommends + "it(?:'s| is) not recommended": Datadog does not recommend