File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1- # textlint-rule-preset-JTF-style [ ![ textlint rule] ( https://img.shields.io/badge/textlint-fixable-green.svg?style=social )] ( https://textlint.github.io/ ) [ ![ Build Status] ( https://travis-ci.org/azu /textlint-rule-preset-JTF-style.svg?branch=master )] ( https://travis-ci.org/azu /textlint-rule-preset-JTF-style )
1+ # textlint-rule-preset-JTF-style [ ![ textlint rule] ( https://img.shields.io/badge/textlint-fixable-green.svg?style=social )] ( https://textlint.github.io/ ) [ ![ Build Status] ( https://travis-ci.org/textlint-ja /textlint-rule-preset-JTF-style.svg?branch=master )] ( https://travis-ci.org/textlint-ja /textlint-rule-preset-JTF-style )
22
33[ JTF日本語標準スタイルガイド(翻訳用)] ( https://www.jtf.jp/jp/style_guide/styleguide_top.html " JTF日本語標準スタイルガイド(翻訳用) ") for [ textlint] ( https://github.com/textlint/textlint " textlint ") .
44
1010
1111## Usage
1212
13- 基本的に[ textlint] ( https://github.com/azu /textlint " textlint ") の使い方と同じです。
13+ 基本的に[ textlint] ( https://github.com/textlint /textlint " textlint ") の使い方と同じです。
1414
1515- [ textlintで日本語の文章をチェックする | Web Scratch] ( http://efcl.info/2015/09/10/introduce-textlint/ " textlintで日本語の文章をチェックする | Web Scratch ")
1616
@@ -587,7 +587,7 @@ textlint --fix /path/to/target.md
587587
588588Q. このルールはスタイルガイドと合ってないのでは?
589589
590- A. [ Issue] ( https://github.com/azu /textlint-rule-preset-jtf-style/issues/new ) に詳細を書いてみるといいと思います。
590+ A. [ Issue] ( https://github.com/textlint-ja /textlint-rule-preset-jtf-style/issues/new ) に詳細を書いてみるといいと思います。
591591
592592Issueには以下の項目が書かれていると問題を解決しやすくなります。
593593
Original file line number Diff line number Diff line change 22 "name" : " textlint-rule-preset-jtf-style" ,
33 "repository" : {
44 "type" : " git" ,
5- "url" : " git+https://github.com/azu /textlint-rule-preset-jtf-style.git"
5+ "url" : " git+https://github.com/textlint-ja /textlint-rule-preset-jtf-style.git"
66 },
77 "author" : " azu" ,
88 "email" : " azuciao@gmail.com" ,
9- "homepage" : " https://github.com/azu /textlint-rule-preset-jtf-style" ,
9+ "homepage" : " https://github.com/textlint-ja /textlint-rule-preset-jtf-style" ,
1010 "license" : " MIT" ,
1111 "bugs" : {
12- "url" : " https://github.com/azu /textlint-rule-preset-jtf-style/issues"
12+ "url" : " https://github.com/textlint-ja /textlint-rule-preset-jtf-style/issues"
1313 },
1414 "version" : " 2.2.4" ,
1515 "description" : " JTF Style Guide for Translators Working into Japanese for textlint." ,
6060 "peerDependencies" : {
6161 "textlint" : " >= 5.6.0"
6262 }
63- }
63+ }
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ function reporter(context) {
139139
140140 // *数えられる数字は算用数字を使う
141141 // 数十万、数百億にマッチしないように"数"という文字から始まるものは除外
142- // https://github.com/azu /textlint-rule-preset-jtf-style/pull/23
142+ // https://github.com/textlint-ja /textlint-rule-preset-jtf-style/pull/23
143143 matchToReplace ( text , / ( [ 一 二 三 四 五 六 七 八 九 十 壱 弐 参 拾 百 〇 ] + ) [ 兆 億 万 ] / g,
144144 ignoreWhenMatched ( / 数 ( [ 一 二 三 四 五 六 七 八 九 十 壱 弐 参 拾 百 〇 ] + ) [ 兆 億 万 ] / g, toNumber )
145145 ) ;
Original file line number Diff line number Diff line change 33export const japaneseRegExp = / (?: [ 々 〇 〻 \u3400 - \u4DBF \u4E00 - \u9FFF \uF900 - \uFAFF ] | [ \uD840 - \uD87F ] [ \uDC00 - \uDFFF ] | [ ぁ - ん ァ - ヶ ] ) / ;
44// http://tama-san.com/kanji-regex/ ベース
55// "々" は 記号であるため除外
6- // https://github.com/azu /textlint-rule-preset-JTF -style/issues/48
6+ // https://github.com/textlint-ja /textlint-rule-preset-jtf -style/issues/48
77export const kanjiRegExp = / (?: [ 〇 〻 \u3400 - \u9FFF \uF900 - \uFAFF ] | [ \uD840 - \uD87F ] [ \uDC00 - \uDFFF ] ) / ;
88export const hiraganaRegExp = / [ ぁ - ん ] / ;
99export const karakanaRegExp = / [ ァ - ヶ ] / ;
You can’t perform that action at this time.
0 commit comments