shit-cleaner
shit-cleaner copied to clipboard
Notes for Windows 10 with WSL2
With win10 Subsystem Linux 2, we can take the advantage of docker desktop WSL2 based engine to run this plugin. Here share the steps:
-
you must activate and install Ubuntu 18.04, follow the link to enable it: https://docs.docker.com/docker-for-windows/wsl/ If you can turn on the option like below screenshot then move to next step.
-
Login the Ubuntu (make sure it's running in wsl2 mode) as root
wsl sudo su
-
Pull codelimate and download all necessary engines. https://github.com/codeclimate/codeclimate Run below command to download engines (Either cmd window or wsl is ok):
docker_run codeclimate/codeclimate engines:install
-
Download, unzip and copy the codeclimate command line wrapper of linux to /usr/local/bin with Ubuntu, see attached file. codeclimate.zip
-
Go back to Idea or pycharm to enjoy code cleaner :)