If there is only one top level class/object/typealias in a given file, then its name should match the file's name.
The content on this page is adapted from the Detekt Docs. Copyright ©2022 The Detekt Team. All rights reserved. https://detekt.dev/comments.html