     public static var description = RuleDescription(
         identifier: "discouraged_none_name",
         name: "Discouraged None Name",
-        description: "Discourages the naming of enum cases and static members as 'none', which can conflict with Optional<T>.none",
+        description: "Discourages name cases/static members `none`, which can conflict with `Optional<T>.none`.",
         kind: .idiomatic,
         nonTriggeringExamples: [
             // Should not trigger unless exactly matches "none"

            """),
            Example("""
            class MyClass {
                class var nonenone = MyClass()
            }
            """),
            Example("""

    var isForValidating: Bool { self == .enumelement || self == .varClass || self == .varStatic }

    var reason: String {
        var reasonPrefix: String {
            switch self {
            case .enumelement: return "`case`"
            case .varClass: return "`class` member"
            case .varStatic: return "`static` member"
            default: return ""
            }
        }
        let reason = "Avoid naming \(reasonPrefix) `none` as the compiler can think you mean `Optional<T>.none`."
        let recommendation = "Consider using an Optional value instead."
        return "\(reason) \(recommendation)"
    }
}

