Sign inSign up

sdesbure/remark-lint

By sdesbure

Updated over 8 years ago

remark-lint into a docker (used only for CI)

Image
0

2.8K

sdesbure/remark-lint repository overview

Remark Lint Docker

remark-lint - https://github.com/remarkjs/remark-lint

Latest remark-lint release in node embedded into this docker.

Used to perform markdown linting into gitlab ci runner.

Docker image

How to use

Pull image
docker pull sdesbure/remark-lint

Run container

This container doesn't run by itself unfortunately, due to nodejs restrictions.

In gitlab ci runner

Here's an example of a working configuration (that have a lint stage):

markdown_linting:
  stage: lint
  image: sdesbure/remark-lint
  script:
    - cd /usr/src/app
    - node_modules/.bin/remark --use remark-preset-lint-recommended --use remark-preset-lint-consistent /code

Tag summary

Content type

Image

Digest

Size

26 MB

Last updated

over 8 years ago

docker pull sdesbure/remark-lint