Skip to content

Commit 7f59791

Browse files
authored
fix(no-doubled-conjunctive-particle-ga): use default export (#39)
1 parent f5798ad commit 7f59791

File tree

3 files changed

+31
-25
lines changed

3 files changed

+31
-25
lines changed

lib/textlint-rule-preset-ja-technical-writing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
"ja-no-mixed-period": require("textlint-rule-ja-no-mixed-period"),
1212
"arabic-kanji-numbers": jtfRules["2.2.2.算用数字と漢数字の使い分け"],
1313
"no-doubled-conjunction": require("textlint-rule-no-doubled-conjunction"),
14-
"no-doubled-conjunctive-particle-ga": require("textlint-rule-no-doubled-conjunctive-particle-ga"),
14+
"no-doubled-conjunctive-particle-ga": require("textlint-rule-no-doubled-conjunctive-particle-ga").default,
1515
"no-double-negative-ja": require("textlint-rule-no-double-negative-ja"),
1616
"no-doubled-joshi": require("textlint-rule-no-doubled-joshi"),
1717
"no-dropping-the-ra": require("textlint-rule-no-dropping-the-ra"),

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
3131
],
3232
"devDependencies": {
3333
"markdown-toc": "^1.0.2",
34-
"mocha": "^6.0.0"
34+
"mocha": "^6.0.1"
3535
},
3636
"dependencies": {
37-
"@textlint-rule/textlint-rule-no-invalid-control-character": "^1.1.0",
38-
"textlint-rule-ja-no-abusage": "^1.1.1",
39-
"textlint-rule-ja-no-mixed-period": "^2.0.0",
37+
"@textlint-rule/textlint-rule-no-invalid-control-character": "^1.2.0",
38+
"textlint-rule-ja-no-abusage": "^1.2.2",
39+
"textlint-rule-ja-no-mixed-period": "^2.1.1",
4040
"textlint-rule-ja-no-redundant-expression": "^2.0.0",
4141
"textlint-rule-ja-no-successive-word": "^1.1.0",
4242
"textlint-rule-ja-no-weak-phrase": "^1.0.2",
@@ -45,14 +45,14 @@
4545
"textlint-rule-max-ten": "^2.0.1",
4646
"textlint-rule-no-double-negative-ja": "^1.0.4",
4747
"textlint-rule-no-doubled-conjunction": "^1.0.2",
48-
"textlint-rule-no-doubled-conjunctive-particle-ga": "^1.0.2",
48+
"textlint-rule-no-doubled-conjunctive-particle-ga": "^1.1.0",
4949
"textlint-rule-no-doubled-joshi": "^3.3.0",
5050
"textlint-rule-no-dropping-the-ra": "^1.0.3",
5151
"textlint-rule-no-exclamation-question-mark": "^1.0.2",
5252
"textlint-rule-no-hankaku-kana": "^1.0.1",
5353
"textlint-rule-no-mix-dearu-desumasu": "^3.0.2",
5454
"textlint-rule-no-nfd": "^1.0.1",
55-
"textlint-rule-preset-jtf-style": "^2.3.1",
55+
"textlint-rule-preset-jtf-style": "^2.3.3",
5656
"textlint-rule-sentence-length": "^2.1.1"
5757
}
5858
}

yarn.lock

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
# yarn lockfile v1
33

44

5-
"@textlint-rule/textlint-rule-no-invalid-control-character@^1.1.0":
6-
version "1.1.0"
7-
resolved "https://registry.yarnpkg.com/@textlint-rule/textlint-rule-no-invalid-control-character/-/textlint-rule-no-invalid-control-character-1.1.0.tgz#18ff44d61a9978b399c7906bfea4f8cc72541faf"
5+
"@textlint-rule/textlint-rule-no-invalid-control-character@^1.2.0":
6+
version "1.2.0"
7+
resolved "https://registry.npmjs.org/@textlint-rule/textlint-rule-no-invalid-control-character/-/textlint-rule-no-invalid-control-character-1.2.0.tgz#3e8f03258d06b7deb2592bdb13626659c46abbf5"
8+
integrity sha512-FgkOQr14H8D/LQVAEOR2cGWhzItb9MXCAvaBwKkysIfP9Ngwam+8NRmbphQ/GrAm3PXV63QmK1xwAKM1DntwmQ==
89
dependencies:
910
execall "^1.0.0"
1011

@@ -1083,9 +1084,10 @@ mkdirp@0.5.1:
10831084
dependencies:
10841085
minimist "0.0.8"
10851086

1086-
mocha@^6.0.0:
1087-
version "6.0.0"
1088-
resolved "https://registry.yarnpkg.com/mocha/-/mocha-6.0.0.tgz#b558da6245a09581aa4a1c6aee9e0fa6ad0e1767"
1087+
mocha@^6.0.1:
1088+
version "6.0.1"
1089+
resolved "https://registry.npmjs.org/mocha/-/mocha-6.0.1.tgz#c287da87913fa0edc4c44850ba8bc4fdbf20d3ea"
1090+
integrity sha512-tQzCxWqxSD6Oyg5r7Ptbev0yAMD8p+Vfh4snPFuiUsWqYj0eVYTDT2DkEY307FTj0WRlIWN9rWMMAUzRmijgVQ==
10891091
dependencies:
10901092
ansi-colors "3.2.3"
10911093
browser-stdout "1.3.1"
@@ -1634,17 +1636,19 @@ textlint-rule-helper@^2.0.0:
16341636
dependencies:
16351637
unist-util-visit "^1.1.0"
16361638

1637-
textlint-rule-ja-no-abusage@^1.1.1:
1638-
version "1.2.1"
1639-
resolved "https://registry.yarnpkg.com/textlint-rule-ja-no-abusage/-/textlint-rule-ja-no-abusage-1.2.1.tgz#4faad660b0abe1fc05e87528f804cf22b7c73a78"
1639+
textlint-rule-ja-no-abusage@^1.2.2:
1640+
version "1.2.2"
1641+
resolved "https://registry.npmjs.org/textlint-rule-ja-no-abusage/-/textlint-rule-ja-no-abusage-1.2.2.tgz#6478a150d4dcea4e95bb88a2af92a2fcace1c5f0"
1642+
integrity sha512-lDRvfOCh41h0DnenGgfjstBNBh7EZP37r/q/24DP1PKWvVytOtiIxN048KEfm4sXjJZ/eSZOrZrfHqFm1uaiCw==
16401643
dependencies:
16411644
kuromojin "^1.3.1"
16421645
morpheme-match "^1.0.1"
16431646
textlint-rule-prh "^3.1.1"
16441647

1645-
textlint-rule-ja-no-mixed-period@^2.0.0:
1646-
version "2.0.0"
1647-
resolved "https://registry.yarnpkg.com/textlint-rule-ja-no-mixed-period/-/textlint-rule-ja-no-mixed-period-2.0.0.tgz#240dd04536327eff5e12b3e9d0be69f5ad10a851"
1648+
textlint-rule-ja-no-mixed-period@^2.1.1:
1649+
version "2.1.1"
1650+
resolved "https://registry.npmjs.org/textlint-rule-ja-no-mixed-period/-/textlint-rule-ja-no-mixed-period-2.1.1.tgz#6c63446de0bab9870041f38b1a339d54328f4c60"
1651+
integrity sha512-yCfRva4pl2Sa6Xsxhzkec9rGuqP4MBlGrQ7ZQIM9On9dMaeIVabcwniMbLfO1CzUBBe9xUaCF/8eE0zOi8g4/A==
16481652
dependencies:
16491653
check-ends-with-period "^1.0.1"
16501654
textlint-rule-helper "^2.0.0"
@@ -1709,9 +1713,10 @@ textlint-rule-no-doubled-conjunction@^1.0.2:
17091713
textlint-rule-helper "^1.1.5"
17101714
textlint-util-to-string "^1.2.0"
17111715

1712-
textlint-rule-no-doubled-conjunctive-particle-ga@^1.0.2:
1713-
version "1.0.2"
1714-
resolved "https://registry.yarnpkg.com/textlint-rule-no-doubled-conjunctive-particle-ga/-/textlint-rule-no-doubled-conjunctive-particle-ga-1.0.2.tgz#b9cb679555aea2ab0d4ffcfa4dd2ffab71bf0057"
1716+
textlint-rule-no-doubled-conjunctive-particle-ga@^1.1.0:
1717+
version "1.1.0"
1718+
resolved "https://registry.npmjs.org/textlint-rule-no-doubled-conjunctive-particle-ga/-/textlint-rule-no-doubled-conjunctive-particle-ga-1.1.0.tgz#f43717a670ca94d5a7de94efb85b862075436f23"
1719+
integrity sha512-5uTZEw0S1j27DJ2vxdSqmqekZGuzOz2c8axtjJR1XiLc/miB8f7Rz3S16Mq+M2W06wcJTdoM87ix5XWa+4oe8A==
17151720
dependencies:
17161721
kuromojin "^1.1.0"
17171722
sentence-splitter "^1.2.0"
@@ -1764,9 +1769,10 @@ textlint-rule-no-nfd@^1.0.1:
17641769
textlint-rule-helper "^1.1.5"
17651770
unorm "^1.4.1"
17661771

1767-
textlint-rule-preset-jtf-style@^2.3.1:
1768-
version "2.3.1"
1769-
resolved "https://registry.yarnpkg.com/textlint-rule-preset-jtf-style/-/textlint-rule-preset-jtf-style-2.3.1.tgz#5f2aece16b1d1296032d0d57cc2f8d8f3362318c"
1772+
textlint-rule-preset-jtf-style@^2.3.3:
1773+
version "2.3.3"
1774+
resolved "https://registry.npmjs.org/textlint-rule-preset-jtf-style/-/textlint-rule-preset-jtf-style-2.3.3.tgz#5128d96f4edb566c8940e09ddcf3ce4803d133c4"
1775+
integrity sha512-wSBz4yqCcbKSAhlW7rhCCCPpCULTq2tT3lhyY3Q43cL+qsNx6U1UjngmQqLWkVBXVw2awQxkdeqORW7r+n4Qdg==
17701776
dependencies:
17711777
analyze-desumasu-dearu "^2.1.2"
17721778
japanese-numerals-to-number "^1.0.2"

0 commit comments

Comments
 (0)