Skip to content

Commit 9ed75d5

Browse files
committed
fix: add allowlist filter
1 parent 47ee9d8 commit 9ed75d5

File tree

3 files changed

+46
-1
lines changed

3 files changed

+46
-1
lines changed

.textlintrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,12 @@
55
"strict": false
66
}
77
}
8+
},
9+
"filters": {
10+
"allowlist": {
11+
"allow": [
12+
"->"
13+
]
14+
}
815
}
916
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"sass": "^1.32.0",
55
"sass-loader": "^8.0.2",
66
"textlint": "^12.0.0",
7+
"textlint-filter-rule-allowlist": "^2.0.1",
78
"textlint-rule-preset-vuejs-jp": "git+https://github.com/vuejs-jp/textlint-rule-preset-vuejs-jp.git",
89
"vuepress": "^1.5.4"
910
},

yarn.lock

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@
11211121
resolved "https://registry.yarnpkg.com/@textlint/ast-node-types/-/ast-node-types-12.0.0.tgz#23bd683f9fc04209ae28bff72954c8aa67c6b1ca"
11221122
integrity sha512-qUjmlpz1vR3AStBA9RPDCVT0/pGtePvBJ5Vb/0PzTrnr04iFktG6P6B1VOmgTh8J9Kl/FonQFo3A9M1Q3UH+JA==
11231123

1124-
"@textlint/ast-node-types@^4.4.3":
1124+
"@textlint/ast-node-types@^4.2.5", "@textlint/ast-node-types@^4.4.3":
11251125
version "4.4.3"
11261126
resolved "https://registry.yarnpkg.com/@textlint/ast-node-types/-/ast-node-types-4.4.3.tgz#fdba16e8126cddc50f45433ce7f6c55e7829566c"
11271127
integrity sha512-qi2jjgO6Tn3KNPGnm6B7p6QTEPvY95NFsIAaJuwbulur8iJUEenp1OnoUfiDaC/g2WPPEFkcfXpmnu8XEMFo2A==
@@ -1164,6 +1164,11 @@
11641164
text-table "^0.2.0"
11651165
try-resolve "^1.0.1"
11661166

1167+
"@textlint/get-config-base-dir@^2.0.0":
1168+
version "2.0.0"
1169+
resolved "https://registry.yarnpkg.com/@textlint/get-config-base-dir/-/get-config-base-dir-2.0.0.tgz#3d0e862e1dd67cf8286ca52f8bd911e10dca2941"
1170+
integrity sha512-J3cG1pl2llYD4ZaZMe0qVgVaHT8RvT+/SW1FHQ8HRceNalMM9O0Y8iIgtl4GGOx4vMghoIPKFVLASw8P8bJ3ZA==
1171+
11671172
"@textlint/kernel@^12.0.0":
11681173
version "12.0.0"
11691174
resolved "https://registry.yarnpkg.com/@textlint/kernel/-/kernel-12.0.0.tgz#29cca37644445429fdddad13244d0d40eaf24289"
@@ -1222,6 +1227,18 @@
12221227
resolved "https://registry.yarnpkg.com/@textlint/module-interop/-/module-interop-12.0.0.tgz#f6f4a513f7d58c25304fc1e6a544989a82565978"
12231228
integrity sha512-WSuwd3pd2xYDCYqpA6NE8FwMZS4WJ2gZmsSCXBpOh3qJ/pHbmrfEaiwOpGQJA4RfXVp8Fy5KfaAQJIr+wox98A==
12241229

1230+
"@textlint/regexp-string-matcher@^1.1.0":
1231+
version "1.1.0"
1232+
resolved "https://registry.yarnpkg.com/@textlint/regexp-string-matcher/-/regexp-string-matcher-1.1.0.tgz#e19975029ce228a214d50c6a7e9dbcbef29ad8cd"
1233+
integrity sha512-uTPnE1Dw1j+9clXPn61ZUdtg+WyhbgeXHwCTfBev7quHjeCP9PS8NdRkR6wEgmjuLg+xZlI4r/e1r6Bd0xyusQ==
1234+
dependencies:
1235+
escape-string-regexp "^1.0.5"
1236+
execall "^1.0.0"
1237+
lodash.sortby "^4.7.0"
1238+
lodash.uniq "^4.5.0"
1239+
lodash.uniqwith "^4.5.0"
1240+
to-regex "^3.0.2"
1241+
12251242
"@textlint/source-code-fixer@^12.0.0":
12261243
version "12.0.0"
12271244
resolved "https://registry.yarnpkg.com/@textlint/source-code-fixer/-/source-code-fixer-12.0.0.tgz#ada198da75ac9dc1c01395fe338a5256247df413"
@@ -5612,6 +5629,11 @@ lodash.memoize@^4.1.2:
56125629
resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe"
56135630
integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=
56145631

5632+
lodash.sortby@^4.7.0:
5633+
version "4.7.0"
5634+
resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"
5635+
integrity sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=
5636+
56155637
lodash.template@^4.4.0, lodash.template@^4.5.0:
56165638
version "4.5.0"
56175639
resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-4.5.0.tgz#f976195cf3f347d0d5f52483569fe8031ccce8ab"
@@ -5632,6 +5654,11 @@ lodash.uniq@^4.5.0:
56325654
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
56335655
integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=
56345656

5657+
lodash.uniqwith@^4.5.0:
5658+
version "4.5.0"
5659+
resolved "https://registry.yarnpkg.com/lodash.uniqwith/-/lodash.uniqwith-4.5.0.tgz#7a0cbf65f43b5928625a9d4d0dc54b18cadc7ef3"
5660+
integrity sha1-egy/ZfQ7WShiWp1NDcVLGMrcfvM=
5661+
56355662
lodash@^4.0.0, lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.20, lodash@^4.17.3, lodash@^4.17.5:
56365663
version "4.17.21"
56375664
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
@@ -8551,6 +8578,16 @@ text-table@^0.2.0:
85518578
resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"
85528579
integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=
85538580

8581+
textlint-filter-rule-allowlist@^2.0.1:
8582+
version "2.0.1"
8583+
resolved "https://registry.yarnpkg.com/textlint-filter-rule-allowlist/-/textlint-filter-rule-allowlist-2.0.1.tgz#2c30a3938690003ee41f415989352547cedf5cf4"
8584+
integrity sha512-HiQ1bz1Z/M9Y8pKrvPU6WFE41dpGFKqWnmDZZLRKN8Nqax9+I8xZg3swCu6x3HFAoTF5uPtuIe8B1m/isCxvQQ==
8585+
dependencies:
8586+
"@textlint/ast-node-types" "^4.2.5"
8587+
"@textlint/get-config-base-dir" "^2.0.0"
8588+
"@textlint/regexp-string-matcher" "^1.1.0"
8589+
rc-config-loader "^3.0.0"
8590+
85548591
textlint-rule-helper@^2.0.0, textlint-rule-helper@^2.1.1, textlint-rule-helper@^2.2.0:
85558592
version "2.2.0"
85568593
resolved "https://registry.yarnpkg.com/textlint-rule-helper/-/textlint-rule-helper-2.2.0.tgz#30522ba904a03849d57ea3e5ebd5920027cd8da3"

0 commit comments

Comments
 (0)