Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow disabling check for file, next to skipping complete file #244

Open
Anton-4 opened this issue Jun 18, 2020 · 0 comments
Open

Allow disabling check for file, next to skipping complete file #244

Anton-4 opened this issue Jun 18, 2020 · 0 comments

Comments

@Anton-4
Copy link

Anton-4 commented Jun 18, 2020

For elm-visualization we would like to disable some rules for certain files, not skip the entire file from analysis.

I propose this to be configured as follows:

{
    ...
    "disabledChecksForPaths" : [
        { "paths":
            ["src/Folder1", "src/Folder2/File1.elm"],
          "checks":
            ["NoTopLevelSignature", "UnusedTopLevel"]
        }
    ],
    ...
}

Once the configuration is agreed upon I am willing to implement this myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant