Find non-deterministic end-of-line in strings

Proprietary

Detect string literals containing \n that may behave differently across platforms. Consider using Environment.NewLine instead.

OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindNonDeterministicEndOfLine
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindNonDeterministicEndOfLine

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.