Last active
November 28, 2017 00:06
-
-
Save s2terminal/3f147aa5fe975739c4ce46401b96d8d9 to your computer and use it in GitHub Desktop.
textlinter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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