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

Feature Request: allow configuring to skip checkstyle analysis some directories/files/projects without changing the configuration file #313

Open
mtomim opened this issue Apr 28, 2021 · 1 comment

Comments

@mtomim
Copy link

mtomim commented Apr 28, 2021

The plugin works great, but I really want to be able to configure projects/files/directories in which checkstyle doesn't apply and avoid coloring everything in red, without modifying the configuration file itself, nor having to change everything in the massive old unclean project. If it's possible via the parameter "java.checkstyle.properties" for example, I want to see some examples in README.

For example:

{
  "java.checkstyle.ignore": [ /* file pattern array */ ]
}

The word "ignore" may well be "skip".

Thanks in advance for the consideration!

image

@Keetz
Copy link

Keetz commented Jun 28, 2021

This would be a much appreciated feature.

I have a bunch of generated classes which doesn't quiet match my projects overall checkstyle. It would be sweet to just ignore that folder containing all those generated classes, and get rid of the false-positive errors.

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

No branches or pull requests

3 participants