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
It would really helpful to specify the rubocop version and the needed plugins.
In the entrypoint.sh shell script the version of the rubocop and the plugins + versions is hard coded. Would it be possible to iterate over let's say all provided environment variables and use the string they provided as version?
forvarin"${!RUBOCOP@}";do# substitute _ with -
org="${var//[_]/_}"# compose the command an convert the enviroment var key to lower case# build a comand similar to: gem install rubocop -v 0.80.1
COMMAND=$(printf 'gem install %s -v %s\n'"${org,,}""${!var}")# execute the commandeval$COMMANDdone
Should do the trick.
I think code-climate has the same issue with a not supported graphql plugin for rubocop. This would really awesome to have that supported here.
The text was updated successfully, but these errors were encountered:
It would really helpful to specify the rubocop version and the needed plugins.
In the entrypoint.sh shell script the version of the rubocop and the plugins + versions is hard coded. Would it be possible to iterate over let's say all provided environment variables and use the string they provided as version?
maybe
Should do the trick.
I think code-climate has the same issue with a not supported graphql plugin for rubocop. This would really awesome to have that supported here.
The text was updated successfully, but these errors were encountered: