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

support checkstyle_packages #610

Open
kdh6429 opened this issue Apr 15, 2023 · 1 comment
Open

support checkstyle_packages #610

kdh6429 opened this issue Apr 15, 2023 · 1 comment

Comments

@kdh6429
Copy link

kdh6429 commented Apr 15, 2023

I am trying to write a separate detection logic using AbstractCheck. To apply this, I need to add related information to checkstyle_packages.xml, but it seems that only checkstyle.xml file is imported from this library. Is there any part I missed?
https://checkstyle.sourceforge.io/config.html#Packages

@jshiell
Copy link
Owner

jshiell commented Apr 23, 2023

Hmm. As far as I know, the plugin should handle this - primarily because, other than adding extra checks to the classpath, we don't do anything - Checkstyle itself locates and parses the file.

Sanity check - your check is in a JAR file, the checkstyle_packages.xml is in the root of the JAR file, and it has been added to the third-party checks classpath in the CS-IDEA plugin options?

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

2 participants