Skip to content

Commit f41eff3

Browse files
committed
1 parent c474e0f commit f41eff3

File tree

3 files changed

+60
-13
lines changed

3 files changed

+60
-13
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
},
6060
"dependencies": {
6161
"sentence-splitter": "^3.0.11",
62-
"textlint-rule-helper": "^2.0.0"
62+
"textlint-rule-helper": "^2.0.0",
63+
"textlint-tester": "5.0.1"
6364
}
6465
}

test/textlint-rule-no-unmatched-pair-test.js

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,9 @@ const rule = require("../src/textlint-rule-no-unmatched-pair.js");
77
// ruleName, rule, { valid, invalid }
88
tester.run("textlint-rule-no-unmatched-pair", rule, {
99
valid: [
10-
{
11-
text: "これは(秘密)です。"
12-
},
13-
{
14-
text: `John said "Hello World!".`
15-
},
16-
{
17-
text: "`(` is ok."
18-
},
19-
{
20-
text: "文字列リテラルには3種類ありますが、まずは`\"`(ダブルクオート)と`'`(シングルクオート)について見ていきます。"
21-
}
10+
"これは(秘密)です。",
11+
`John said "Hello World!".`,
12+
"`(` is ok.", "文字列リテラルには3種類ありますが、まずは`\"`(ダブルクオート)と`'`(シングルクオート)について見ていきます。"
2213
],
2314
invalid: [
2415
{

yarn.lock

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,12 +651,24 @@
651651
dependencies:
652652
"@textlint/markdown-to-ast" "^6.0.9"
653653

654+
"@textlint/textlint-plugin-markdown@^5.0.1":
655+
version "5.0.1"
656+
resolved "https://registry.npmjs.org/@textlint/textlint-plugin-markdown/-/textlint-plugin-markdown-5.0.1.tgz#edc4aa84302596d7aea5b67a91333b9caa8dc658"
657+
dependencies:
658+
"@textlint/markdown-to-ast" "^6.0.9"
659+
654660
"@textlint/textlint-plugin-text@^4.0.0":
655661
version "4.0.0"
656662
resolved "https://registry.npmjs.org/@textlint/textlint-plugin-text/-/textlint-plugin-text-4.0.0.tgz#025f5c9897ffd3ca91b71ae467b6d7cdfad5e6b2"
657663
dependencies:
658664
"@textlint/text-to-ast" "^3.0.9"
659665

666+
"@textlint/textlint-plugin-text@^4.0.1":
667+
version "4.0.1"
668+
resolved "https://registry.npmjs.org/@textlint/textlint-plugin-text/-/textlint-plugin-text-4.0.1.tgz#6017c789409ea141a4a66b7a0f68dedf1ee61141"
669+
dependencies:
670+
"@textlint/text-to-ast" "^3.0.9"
671+
660672
"@types/bluebird@^3.5.18":
661673
version "3.5.24"
662674
resolved "https://registry.npmjs.org/@types/bluebird/-/bluebird-3.5.24.tgz#11f76812531c14f793b8ecbf1de96f672905de8a"
@@ -3200,6 +3212,14 @@ textlint-scripts@^2.1.0:
32003212
pkg-to-readme "^1.1.0"
32013213
textlint-tester "^5.0.0"
32023214

3215+
3216+
version "5.0.1"
3217+
resolved "https://registry.npmjs.org/textlint-tester/-/textlint-tester-5.0.1.tgz#968b4b34bbda2614a99ec85b82c56488c86bc255"
3218+
dependencies:
3219+
"@textlint/feature-flag" "^3.0.5"
3220+
"@textlint/kernel" "^3.0.0"
3221+
textlint "^11.0.1"
3222+
32033223
textlint-tester@^5.0.0:
32043224
version "5.0.0"
32053225
resolved "https://registry.npmjs.org/textlint-tester/-/textlint-tester-5.0.0.tgz#9e64dd7cdba7df8a5370a5cfae3ad57cb0de3535"
@@ -3243,6 +3263,41 @@ textlint@^11.0.0:
32433263
try-resolve "^1.0.1"
32443264
unique-concat "^0.2.2"
32453265

3266+
textlint@^11.0.1:
3267+
version "11.0.1"
3268+
resolved "https://registry.npmjs.org/textlint/-/textlint-11.0.1.tgz#2c4ce2bcefdf8307374ec19ac1b33261a50e294c"
3269+
dependencies:
3270+
"@textlint/ast-node-types" "^4.0.3"
3271+
"@textlint/ast-traverse" "^2.0.9"
3272+
"@textlint/feature-flag" "^3.0.5"
3273+
"@textlint/fixer-formatter" "^3.0.8"
3274+
"@textlint/kernel" "^3.0.0"
3275+
"@textlint/linter-formatter" "^3.0.8"
3276+
"@textlint/textlint-plugin-markdown" "^5.0.1"
3277+
"@textlint/textlint-plugin-text" "^4.0.1"
3278+
"@types/bluebird" "^3.5.18"
3279+
bluebird "^3.0.5"
3280+
debug "^2.1.0"
3281+
deep-equal "^1.0.1"
3282+
file-entry-cache "^2.0.0"
3283+
get-stdin "^5.0.1"
3284+
glob "^7.1.1"
3285+
interop-require "^1.0.0"
3286+
is-file "^1.0.0"
3287+
log-symbols "^1.0.2"
3288+
map-like "^2.0.0"
3289+
md5 "^2.2.1"
3290+
mkdirp "^0.5.0"
3291+
object-assign "^4.0.1"
3292+
optionator "^0.8.0"
3293+
path-to-glob-pattern "^1.0.2"
3294+
rc-config-loader "^2.0.1"
3295+
read-pkg "^1.1.0"
3296+
read-pkg-up "^3.0.0"
3297+
structured-source "^3.0.2"
3298+
try-resolve "^1.0.1"
3299+
unique-concat "^0.2.2"
3300+
32463301
to-fast-properties@^2.0.0:
32473302
version "2.0.0"
32483303
resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e"

0 commit comments

Comments
 (0)