Skip to content

Bug: Not all settings layers are ignored #13

Closed
@bart-degreed

Description

@bart-degreed

The following code at https://github.com/sethreno/ReGitLint/blob/master/ReGitLint/Cleanup.cs#L327-L333:

            if (!jbArgs.Contains("-dsl")
                && !jbArgs.Contains("--disable-settings-layers")) {
                // ignore settings that might conflict with .editorconfig
                jbArgs.Add("-dsl=GlobalAll");
                jbArgs.Add("-dsl=SolutionPersonal");
                jbArgs.Add("-dsl=ProjectPersonal");
            }

does not clear all machine-wide and personal settings layers. See json-api-dotnet/JsonApiDotNetCore#1104 for details. It appears that -dsl=GlobalPerProduct is missing in this list (see https://www.jetbrains.com/help/resharper/CleanupCode.html).

Edit: removed suggestion to use --no-buildin-settings, because it does achieve the desired effect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions