Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@s2terminal
Last active November 28, 2017 00:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save s2terminal/3f147aa5fe975739c4ce46401b96d8d9 to your computer and use it in GitHub Desktop.
Save s2terminal/3f147aa5fe975739c4ce46401b96d8d9 to your computer and use it in GitHub Desktop.
textlinter
# run $> docker build . --tag textlinter
# run $> docker run --volume "$(pwd):/root" --rm textlinter /root/node_modules/.bin/textlint target.md
# cf. https://dev.classmethod.jp/devenv/atom-textlint-proofreading/
# cf. https://kuroeveryday.blogspot.jp/2017/07/running-nodejs-app-in-docker.html
FROM node:latest
ADD ./ /root
WORKDIR /root
RUN npm install --save-dev prh textlint textlint-rule-preset-ja-technical-writing textlint-rule-prh textlint-rule-spellcheck-tech-word
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment