Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

textlintの導入 #1

Closed
2 tasks done
azu opened this issue Aug 27, 2015 · 7 comments · Fixed by #9
Closed
2 tasks done

textlintの導入 #1

azu opened this issue Aug 27, 2015 · 7 comments · Fixed by #9

Comments

@azu
Copy link
Owner

azu commented Aug 27, 2015

https://github.com/azu/textlint
とtech wordの辞書を用意する。

  • SUMMARY.mdからファイル一覧のパース
  • textlintでlint

textlintは何経由?CLI、gulp、Node.js script

@azu
Copy link
Owner Author

azu commented Aug 27, 2015

発展した考えてとしてGrossary.mdと連携してなんかできると良さそう

@azu
Copy link
Owner Author

azu commented Aug 28, 2015

SUMMARY Parse が公式にあった

GitbookIO/gitbook-parsers

azu added a commit that referenced this issue Aug 28, 2015
@azu azu mentioned this issue Aug 28, 2015
@azu
Copy link
Owner Author

azu commented Aug 28, 2015

他のプロジェクトにも転用が形にしたい = run.jsみたいのは取り除きたい

@azu
Copy link
Owner Author

azu commented Aug 28, 2015

gulpでやるのは何かびみょい。
pipeでやるにはxargs。JavaScriptらしい解決策があると良い

@azu
Copy link
Owner Author

azu commented Aug 28, 2015

azu/gitbook-summary-to-path SUMMARY.md => a.md b.mdとか吐くのを書いた

@azu
Copy link
Owner Author

azu commented Aug 28, 2015

npm install -D textlint textlint-rule-no-todo gitbook-summary-to-path
$(npm bin)/summary-to-path SUMMARY.md | xargs $(npm bin)/textlint --rule no-todo

とかできる

@azu
Copy link
Owner Author

azu commented Aug 28, 2015

gulpとかは必要になったら書こう

@azu azu closed this as completed in #9 Aug 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant