Docker container with textlint.
Docker URL https://hub.docker.com/r/shimizukawa/textlint-many-rules/
Based upon https://hub.docker.com/r/shimizukawa/textlint-rst/
Base container miy4/textlint
contains textlint rules as follows:
- textlint-rule-prh
- textlint-rule-no-todo
- textlint-rule-preset-jtf-style
- textlint-rule-max-ten
- textlint-rule-no-doubled-joshi
- textlint-rule-no-mix-dearu-desumasu
- textlint-rule-sentence-length
- textlint-rule-spellcheck-tech-word
And this also contains:
- textlint-rule-ja-no-weak-phrase
- textlint-rule-max-kanji-continuous-len
- textlint-rule-no-double-negative-ja
See also: https://hub.docker.com/r/miy4/textlint/
This image contains textlint plugins as follows:
To pull:
$ docker pull shimizukawa/textlint-many-rules
$ 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,
"sentence-length": true,
"prh": {
"rulePaths": ["./WEB+DB_PRESS.yml"]
},
"preset-jtf-style": true,
"no-double-negative-ja": true,
"no-doubled-joshi": {
"min_interval": 1,
"strict": false,
"allow": []
},
"ja-no-weak-phrase": true,
"max-kanji-continuous-len": true
}
}
Run as
$ docker run --rm -v ${PWD}:/data -w /data shimizukawa/textlint-many-rules <TEXTLINT_ARGS>
docker run
accept and pass a set of parameters to textlint CLI.