From 8980c750ed5d76638be64beb14b4fe4c50cdfca5 Mon Sep 17 00:00:00 2001 From: Cara Reaume Date: Thu, 23 Apr 2026 16:21:18 -0400 Subject: [PATCH] Adding new recommendations.yml --- styles/Datadog/recommendations.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 styles/Datadog/recommendations.yml diff --git a/styles/Datadog/recommendations.yml b/styles/Datadog/recommendations.yml new file mode 100644 index 0000000..1e7b85a --- /dev/null +++ b/styles/Datadog/recommendations.yml @@ -0,0 +1,9 @@ +# This file is used to lint passive "it is recommended" phrasing. +extends: substitution +message: "Use '%s' instead of '%s'." +ignorecase: true +level: warning +action: + name: replace +swap: + "it(?:'s| is) recommended to": Datadog recommends