Types should not extend ApplicationException

Proprietary

Do not create custom exceptions that inherit from ApplicationException. Inherit from Exception or a more specific exception type.

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

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