You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Use Case
There are some requirements to the ruby code in types/providers/functions/facts. For example using
require_relative
and notrequire
. I think it would be great if Perforce could provide a rubocop plugin for all of us. I foundhttps://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.
The text was updated successfully, but these errors were encountered: