Prefer null check over type check

Proprietary

Replace x is object with x is not null for clarity.

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

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