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

Provide a custom rubocop plugin #1384

Open
bastelfreak opened this issue May 10, 2024 · 3 comments
Open

Provide a custom rubocop plugin #1384

bastelfreak opened this issue May 10, 2024 · 3 comments
Labels

Comments

@bastelfreak
Copy link
Contributor

Use Case

There are some requirements to the ruby code in types/providers/functions/facts. For example using require_relative and not require. I think it would be great if Perforce could provide a rubocop plugin for all of us. I found
https://github.com/big-samantha/rubocop-facter but that's quite old and only provides two cops. But it's a good start.

Describe the Solution You Would Like

Provide a way for developers to detect code smells in types/providers/functions/facts via static code analysis.

Describe Alternatives You've Considered

Additional Context

I'm not 100% sure if this is the right place for the issue. Please let me know if I should move it.

@joshcooper
Copy link

I'd very much like to see this

Copy link

Migrated issue to PUP-12043

@joshcooper
Copy link

@bastelfreak I think this falls into the PDK/developer tooling realm. I'm not sure which repo is being used to track GH issues?

@pmcmaw pmcmaw transferred this issue from puppetlabs/puppet Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants