Skip to content

shimizukawa/docker-textlint-rst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

textlint-rst

Docker URL https://hub.docker.com/r/shimizukawa/textlint-rst/

Based upon https://hub.docker.com/r/shimizukawa/textlint/

Docker container with textlint.

Rules

see https://hub.docker.com/r/shimizukawa/textlint/

Plugins

This image contains textlint plugins as follows:

Installation

To pull:

$ docker pull shimizukawa/textlint-rst

Usage

$ vi .textlintrc
# Edit textlint configurations

See textlint/docs/configuring.md and textlint/examples/config-file/ for more details.

For example:

{
  "plugins": [
    "rst"
  ],
  "rules": {
    "max-ten": {
      "max": 3
    },
    "spellcheck-tech-word": true,
    "no-mix-dearu-desumasu": true
  }
}

Run as

$ docker run --rm -v ${PWD}:/data -w /data shimizukawa/textlint-rst <TEXTLINT_ARGS>

docker run accept and pass a set of parameters to textlint CLI.