You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
detekt supports multiple configuration files, but the plugin only supports one. I have split my detekt configuration into multiple files: one shared across all projects and one project-specific. So, I cannot use the plugin.
The text was updated successfully, but these errors were encountered:
Since the file path separator is Windows/Linux specific (for Windows a semicolon and for Linux a colon must be used), this causes a problem, if we would like to commit the file .idea/detekt.xml in Git (even if the folder .idea is Git-ignored) to share the configuration of the Detekt plugin (in addition to the Detekt rules).
The cause seems to be path.trim().split(File.pathSeparator) in ProjectUtils.extractPaths. Could this be changed to a way which works for both operating systems?
(Only the colon/semicolon difference causes problems, using slash on Windows systems is not a problem.)
detekt supports multiple configuration files, but the plugin only supports one. I have split my detekt configuration into multiple files: one shared across all projects and one project-specific. So, I cannot use the plugin.
The text was updated successfully, but these errors were encountered: