-
Notifications
You must be signed in to change notification settings - Fork 4
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
index baseに変更する #21
Comments
を利用している状況下で、以下の用なreSTファイルに対して、 今まで「サイトはNetlify」「スライドはGitLab Pages」といった配信分けをしていたのですが、
「 ``/slides`` にビルドしたスライドを置きたい」という動機のものと、こんな構成を検討しています。
* 最初にtextlintで文法チェック
* ドキュメントを別にビルドしてarticle化
* 複数articleを束ねてFirebaseへデプロイ 結果として以下のエラーが出力されています。
状況再現等に使ったファイル・環境等は、 https://gitlab.com/attakei-sandbox/textlint-rst-demo/ に保存しています。 https://gitlab.com/attakei-sandbox/textlint-rst-demo/-/jobs よりエラーの様子が確認できます |
詳細ありがとうございます! |
@attakei https://github.com/textlint-ja/textlint-rule-no-doubled-joshi/releases/tag/3.5.2 で修正してみました。 #23
で中に入ってるtextlint-rule-no-doubled-joshiもアップデートできると思います。
で確認できます。 頂いた再現リポジトリは次のようになりました。
|
こちらのリポジトリでもpackage-lock.json更新後に再実行で確認できました。 ↓エビデンス兼ねて、こちらにGitLab-CIでの実行パイプラインを置かせていただきます |
textlint-rule-no-doubled-joshi/src/no-doubled-joshi.js
Lines 139 to 142 in 8fdcf63
もしかしたら column + word_position で位置がずれているのかもしれない。
originalIndexFromIndex
を使うようにすれば、columnずれは起きなくなるはず。The text was updated successfully, but these errors were encountered: