I was just wondering if it's possible to wrap your plug-in inside another one. I'm trying to call the functions inside a common Ruby file (not sure if it's possible, I'm not too familiar with the danger structure)
It's something like this.
def lint(path)
swiftlint.config_file path
end
But I couldn't make it work looks like the DSL isn't available in that context only on Dangerfiles.