Skip to content

Commit 4aa8fa1

Browse files
authored
transfer to textlint-ja (#59)
* transfer to textlint-ja * Move to textlint-ja * fix link
1 parent 8b52640 commit 4aa8fa1

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

@@ -10,7 +10,7 @@
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

588588
Q. このルールはスタイルガイドと合ってないのでは?
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

592592
Issueには以下の項目が書かれていると問題を解決しやすくなります。
593593

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
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.",
@@ -60,4 +60,4 @@
6060
"peerDependencies": {
6161
"textlint": ">= 5.6.0"
6262
}
63-
}
63+
}

src/2.2.2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
);

src/util/regexp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
export 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
77
export const kanjiRegExp = /(?:[\u3400-\u9FFF\uF900-\uFAFF]|[\uD840-\uD87F][\uDC00-\uDFFF])/;
88
export const hiraganaRegExp = /[-]/;
99
export const karakanaRegExp = /[-]/;

0 commit comments

Comments
 (0)