Skip to content

Instantly share code, notes, and snippets.

@rhoboro
Created August 17, 2019 12:40
Show Gist options
  • Save rhoboro/c9351dbd973a9cbd0a70e7585f46ec72 to your computer and use it in GitHub Desktop.
Save rhoboro/c9351dbd973a9cbd0a70e7585f46ec72 to your computer and use it in GitHub Desktop.
Dockerfile for textlint
# 下記を参考にして作成したtextlint
# https://efcl.info/2015/09/10/introduce-textlint/
# docker run -it --rm -v $(pwd):/tmp -w /tmp textlint:0.1 *.md
FROM node:8-jessie
RUN npm i -g textlint
RUN npm i -g textlint-rule-max-ten textlint-rule-spellcheck-tech-word textlint-rule-no-mix-dearu-desumasu
ENTRYPOINT ["textlint", "--rule", "no-mix-dearu-desumasu", "--rule", "max-ten", "--rule", "spellcheck-tech-word"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment