Minimal eslint docker image
Latest docs: https://github.com/markocelan/docker-eslint
This image was build for use in CI.
Example usage:
docker run -it --rm \
-v $PWD/.eslintrc.yml:/root/.eslintrc.yml:ro \
-v $PWD:/src:ro \
markocelan/eslint .
Note that we are "mounting" .eslintrc. It is a good idea that this file is a part of your code repository.
docker run -it --rm \
-v $PWD/.eslintrc.yml:/root/.eslintrc.yml:ro \
-v $PWD/path_to_js:/src:ro \
markocelan/eslint .
docker run -it --rm \
-v $PWD/.eslintrc.yml:/root/.eslintrc.yml:ro \
-v $PWD:/src:ro \
markocelan/eslint js_folder1 js_folder2 js_folder3
Content type
Image
Digest
Size
20.6 MB
Last updated
over 9 years ago
docker pull markocelan/eslint