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

PMD Apex Rules #361

Open
dieffrei opened this issue Nov 14, 2022 · 7 comments
Open

PMD Apex Rules #361

dieffrei opened this issue Nov 14, 2022 · 7 comments
Assignees

Comments

@dieffrei
Copy link

Hi All,
I've installed your plugin and I can see PMD Java Rules, however I can not see "Apex" rules.
Am I'm missing something during installation?
Thank you in advance

@jborgers
Copy link
Owner

jborgers commented Dec 1, 2022

Hi @dieffrei, that is right, currently, only standard Java rules are available.
With PMD7 this will be extended with Kotlin rules.
A separate plugin can be used for custom rules, we have an in-house solution for it which we plan to bring to open source.
We didn't plan to support other languages, yet. Is there a need for it?
We could look into it and see how much work it would be.

@jborgers jborgers self-assigned this Dec 1, 2022
@jborgers
Copy link
Owner

We are open to PR's to support other languages like Apex.

@SrihariReddy19042002
Copy link

Hi @jborgers,
Actually, we have installed PMD plugin latest version 3.5.1 in sonarqube, but we are not seen any apex rules.
Can you please let me know which version for pmd plugin contained apex rules.
we need to install any other plugin for importing apex rules.
May i know the PR'S support meaning?

Thank you in advance

@jborgers
Copy link
Owner

Hi @SrihariReddy19042002 ,
PR means Pull Request.
So, this way you can contribute the Apex rules.

@SrihariReddy19042002
Copy link

Hi @jborgers,

can you please Guide to me, the procedure how to pull the new custom apex rules into SonarQube.
is there any documentation.

@SrihariReddy19042002
Copy link

Hi @jborgers ,

after pmd plugin 3.5.1 version ,we need to install any other dependency plugin for apex rules.
can you please guide to me

Thank you in advance.

@dieffrei
Copy link
Author

@jborgers as far I know PMD comes with out-of-the-box apex rules

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

3 participants