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 #9344

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

Provide a custom rubocop plugin #9344

bastelfreak opened this issue May 10, 2024 · 2 comments
Labels
enhancement New feature or request triaged Jira issue has been created for this

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.

@bastelfreak bastelfreak added the enhancement New feature or request label May 10, 2024
@joshcooper
Copy link
Contributor

I'd very much like to see this

@cthorn42 cthorn42 added the triaged Jira issue has been created for this label May 14, 2024
Copy link

Migrated issue to PUP-12043

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triaged Jira issue has been created for this
Projects
None yet
Development

No branches or pull requests

3 participants