 }
 
 private extension SwiftDeclarationKind {
-    var isForValidating: Bool { self == .enum || self == .varClass || self == .varStatic }
+    var isForValidating: Bool { self == .enumcase || self == .varClass || self == .varStatic }
 
     var reasonPrefix: String {
         switch self {

                severity: configuration.severity,
                location: Location(file: file, byteOffset: offset),
                reason: """
\(kind.reasonPrefix) should not be named `none` since the compiler can think you mean `Optional<T>.none`.
"""
            )
        ]

        identifier: "disallow_none_case",
        name: "Disallow None Case",
        description: "Disallows the naming of enum cases as 'none' which can conflict with Optional<T>.none",
        kind: .idiomatic
    )

    public func validate(
