Skip to content

snbuback/all-linters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

All linters

Docker image with most common linters. Despite being functional this image was created to be a demo of Container-Env.

Ideally linters should be installed as part of your project (avoiding a fat docker image).

Linters

  • pylint
  • pylama
  • isort
  • pycodestyle
  • flake8
  • pyflakes
  • rubocop
  • foodcritic
  • puppet-lint
  • yamllint
  • jsonlint
  • eslint

How to use

To use all linters seemlessly you need to install Container-Env. After, you can link all in the /usr/local/bin.

git clone git@github.com:snbuback/all-linters.git
cd all-linters
direnv allow .
./link-all.sh

After, you can use all linters in your command line or in your favourite IDE. Just be aware they will only work checking source code inside your home directory and any subpath, since this is the only path mounted in the container.