You must run a container installed
because docker-linter-rubocop use
docker exec to run
Linter package must be installed on your docker container in order to use this plugin. If Linter is not installed, please follow the instruction.
Before using this plugin, you must ensure that
rubocop on your docker container.
$ cd /path/to/your/project $ touch docker-compose.yml $ # edit your docker-compose.yml to run ruby $ docker-compose run ruby bundle init $ # add `gem 'rubocop'` to your Gemfile $ docker-compose run ruby bundle init $ docker-compose run ruby 'sh -c "trap : TERM INT; sleep infinity & wait"' # run your container forever because this package will use `docker exec` to run `rubocop`
apm install docker-linter-rubocop
docker runif there are no running container
If you would like to contribute enhancements or fixes, please do the following:
Please note that modifications should follow these coding guidelines:
Thank you for helping out!
This package is started as fork off https://github.com/AtomLinter/linter-rubocop.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.