-
Notifications
You must be signed in to change notification settings - Fork 26
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 the --force-language PMD CLI option #265
Comments
@adangel News about this feature? |
Can you give an example of your use case? What exactly are "Salesforce projects"? |
@adangel I see the PMD cli provides the option So, if your GitHub Action provides the |
Thanks for sharing. I heard about Do you know, whether these files have an official documentation? See also pmd/pmd#4877 and especially this comment which collects existing issues around this topic. Regarding the implementation of this feature in pmd-github-action: I assume, your salesforce project contains of: Do you know of an open source sample Salesforce project, which shows such a structure and that we can reuse as a test case? |
Thanks @adangel for showing interest! Official documentation is here:
In the above links, file suffixes like Regarding the implementation, I got your point about having files with different extensions in the same folder. If pmd-github-action also provide other PMD CLI parameters like Regarding the open source sample Salesforce project I was not able to find any official one provided by Salesforce. Thanks again @adangel |
The PMD CLI has the
--force-language
options to force a language to be used for all input files, irrespective of file names.This feature allows us to use GitHub Actions for Salesforce projects.
The text was updated successfully, but these errors were encountered: