Skip to content

Commit f616a74

Browse files
authored
chore(textlint): fix textlint filter (#507)
* chore(textlint): fix textlint filter * fix
1 parent d1d7720 commit f616a74

File tree

4 files changed

+46
-46
lines changed

4 files changed

+46
-46
lines changed

.textlintrc

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
{
2-
"plugins": [
3-
"jser-markdown"
4-
],
52
"filters": {
63
"comments": true,
74
"node-types": {
85
"nodeTypes": [
9-
"Link"
6+
"Link",
7+
"Header"
108
]
119
}
1210
},

_i18n/ja/_posts/2018/2018-04-17-safari-11.1-chrome-67-webdash.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ JSer.info #379 - [New WebKit Features in Safari 11.1 | WebKit](https://webkit.or
2828
など大きな機能追加があるので興味がある人は見てみると良さそうです。
2929

3030
また、Safari 11のTechnology PreviewではUA文字列を固定される変更が行われていました。
31-
しかし正式リリースする際にはUA文字列固定は取りやめになったことについてが次の記事で紹介されています
31+
しかし正式リリースする際にはUA文字列固定は取りやめたことについてが次の記事で紹介されています
3232

3333
- [SafariのUA文字列が固定されて固定されなくなったおはなし - fragmentary](https://myakura.hatenablog.com/entry/2018/04/16/083000)
3434

@@ -78,7 +78,7 @@ Service Worker、Payment Request API、Clipboard API、Passive Event Listeners
7878
<p class="jser-tags jser-tag-icon"><span class="jser-tag">JavaScript</span> <span class="jser-tag">ReleaseNote</span></p>
7979

8080
Ember 3.1リリース。
81-
Computed PropertiesがES5 getterで定義されるようになり、`Ember.get()``this.get()`使わずに値取得できるようになった
81+
Computed PropertiesがES5 getterで定義されるようになり、`Ember.get()``this.get()`使わなくても値が取得できるようになった
8282
`@ember/optional-features`がリリースされ、ember-cli経由でEmber自体のBreaking Changeをフラグ管理ができるようになるなど
8383

8484

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"spellcheck-tech-word-textlint-rule": "^3.0.0",
5858
"spellcheck-technical-word": "^2.0.0",
5959
"structured-source": "^3.0.2",
60-
"textlint": "^10.1.5",
60+
"textlint": "^10.2.1",
6161
"textlint-filter-rule-comments": "^1.2.2",
6262
"textlint-filter-rule-node-types": "^1.0.0",
6363
"textlint-plugin-jser-markdown": "^1.0.2",

yarn.lock

+41-39
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@
4747
version "4.0.2"
4848
resolved "https://registry.yarnpkg.com/@textlint/ast-node-types/-/ast-node-types-4.0.2.tgz#5386a15187798efb48eb71fa1cbf6ca2770b206a"
4949

50-
"@textlint/ast-traverse@^2.0.6":
51-
version "2.0.6"
52-
resolved "https://registry.yarnpkg.com/@textlint/ast-traverse/-/ast-traverse-2.0.6.tgz#d8936dc2c63eb1aff3c7af98e561309be6f15641"
50+
"@textlint/ast-traverse@^2.0.8":
51+
version "2.0.8"
52+
resolved "https://registry.yarnpkg.com/@textlint/ast-traverse/-/ast-traverse-2.0.8.tgz#c180fe23dc3b8a6aa68539be70efb4ff17c38a3a"
5353
dependencies:
5454
"@textlint/ast-node-types" "^4.0.2"
5555

@@ -59,11 +59,11 @@
5959
dependencies:
6060
map-like "^2.0.0"
6161

62-
"@textlint/fixer-formatter@^3.0.5":
63-
version "3.0.5"
64-
resolved "https://registry.yarnpkg.com/@textlint/fixer-formatter/-/fixer-formatter-3.0.5.tgz#d046aabea44c31469d3b1d16b3b2b079ff77c59d"
62+
"@textlint/fixer-formatter@^3.0.7":
63+
version "3.0.7"
64+
resolved "https://registry.yarnpkg.com/@textlint/fixer-formatter/-/fixer-formatter-3.0.7.tgz#4ef15d5e606e2d32b89257afd382ed9dbb218846"
6565
dependencies:
66-
"@textlint/kernel" "^2.0.7"
66+
"@textlint/kernel" "^2.0.9"
6767
chalk "^1.1.3"
6868
debug "^2.1.0"
6969
diff "^2.2.2"
@@ -73,12 +73,12 @@
7373
text-table "^0.2.0"
7474
try-resolve "^1.0.1"
7575

76-
"@textlint/kernel@^2.0.7":
77-
version "2.0.7"
78-
resolved "https://registry.yarnpkg.com/@textlint/kernel/-/kernel-2.0.7.tgz#b6339ad878d1272970dbacc3db428b3f0f4696d5"
76+
"@textlint/kernel@^2.0.9":
77+
version "2.0.9"
78+
resolved "https://registry.yarnpkg.com/@textlint/kernel/-/kernel-2.0.9.tgz#a4471b7969e192551230c35ea9fae32d80128ee0"
7979
dependencies:
8080
"@textlint/ast-node-types" "^4.0.2"
81-
"@textlint/ast-traverse" "^2.0.6"
81+
"@textlint/ast-traverse" "^2.0.8"
8282
"@textlint/feature-flag" "^3.0.4"
8383
"@types/bluebird" "^3.5.18"
8484
bluebird "^3.5.1"
@@ -87,13 +87,13 @@
8787
object-assign "^4.1.1"
8888
structured-source "^3.0.2"
8989

90-
"@textlint/linter-formatter@^3.0.5":
91-
version "3.0.5"
92-
resolved "https://registry.yarnpkg.com/@textlint/linter-formatter/-/linter-formatter-3.0.5.tgz#c5a7c6e583f8743a0e77d7de4d595846e4d070ca"
90+
"@textlint/linter-formatter@^3.0.7":
91+
version "3.0.7"
92+
resolved "https://registry.yarnpkg.com/@textlint/linter-formatter/-/linter-formatter-3.0.7.tgz#66716cac94c047d94627a7e6af427a0d199eda7c"
9393
dependencies:
9494
"@azu/format-text" "^1.0.1"
9595
"@azu/style-format" "^1.0.0"
96-
"@textlint/kernel" "^2.0.7"
96+
"@textlint/kernel" "^2.0.9"
9797
chalk "^1.0.0"
9898
concat-stream "^1.5.1"
9999
js-yaml "^3.2.4"
@@ -107,33 +107,35 @@
107107
try-resolve "^1.0.1"
108108
xml-escape "^1.0.0"
109109

110-
"@textlint/markdown-to-ast@^6.0.6":
111-
version "6.0.6"
112-
resolved "https://registry.yarnpkg.com/@textlint/markdown-to-ast/-/markdown-to-ast-6.0.6.tgz#bef5a6a4a4a135a776d24f0ac12d97ca0ed17e70"
110+
"@textlint/markdown-to-ast@^6.0.8":
111+
version "6.0.8"
112+
resolved "https://registry.yarnpkg.com/@textlint/markdown-to-ast/-/markdown-to-ast-6.0.8.tgz#baa509c42f842b4dba36ad91547a288c063396b8"
113113
dependencies:
114114
"@textlint/ast-node-types" "^4.0.2"
115115
debug "^2.1.3"
116-
remark "^7.0.1"
116+
remark-frontmatter "^1.2.0"
117+
remark-parse "^5.0.0"
117118
structured-source "^3.0.2"
118119
traverse "^0.6.6"
120+
unified "^6.1.6"
119121

120-
"@textlint/text-to-ast@^3.0.6":
121-
version "3.0.6"
122-
resolved "https://registry.yarnpkg.com/@textlint/text-to-ast/-/text-to-ast-3.0.6.tgz#c026835ad8e6fd5fa469818b182a2148a9681bf7"
122+
"@textlint/text-to-ast@^3.0.8":
123+
version "3.0.8"
124+
resolved "https://registry.yarnpkg.com/@textlint/text-to-ast/-/text-to-ast-3.0.8.tgz#6211977f369cec484447867f10dc155120f4c082"
123125
dependencies:
124126
"@textlint/ast-node-types" "^4.0.2"
125127

126-
"@textlint/textlint-plugin-markdown@^4.0.8":
127-
version "4.0.8"
128-
resolved "https://registry.yarnpkg.com/@textlint/textlint-plugin-markdown/-/textlint-plugin-markdown-4.0.8.tgz#43743bc2867b105c05c5e21e212c0a83657dfa01"
128+
"@textlint/textlint-plugin-markdown@^4.0.10":
129+
version "4.0.10"
130+
resolved "https://registry.yarnpkg.com/@textlint/textlint-plugin-markdown/-/textlint-plugin-markdown-4.0.10.tgz#a99b4a308067597e89439a9e87bc1c4a7f4d076b"
129131
dependencies:
130-
"@textlint/markdown-to-ast" "^6.0.6"
132+
"@textlint/markdown-to-ast" "^6.0.8"
131133

132-
"@textlint/textlint-plugin-text@^3.0.8":
133-
version "3.0.8"
134-
resolved "https://registry.yarnpkg.com/@textlint/textlint-plugin-text/-/textlint-plugin-text-3.0.8.tgz#e62dfcb3d80889979d43d31e5dba8d11565aabd3"
134+
"@textlint/textlint-plugin-text@^3.0.10":
135+
version "3.0.10"
136+
resolved "https://registry.yarnpkg.com/@textlint/textlint-plugin-text/-/textlint-plugin-text-3.0.10.tgz#619600bdc352d33a68e7a73d77d58b0c52b2a44f"
135137
dependencies:
136-
"@textlint/text-to-ast" "^3.0.6"
138+
"@textlint/text-to-ast" "^3.0.8"
137139

138140
"@types/bluebird@^3.5.18":
139141
version "3.5.20"
@@ -4010,18 +4012,18 @@ textlint-util-to-string@^1.1.0:
40104012
object-assign "^4.0.1"
40114013
structured-source "^3.0.2"
40124014

4013-
textlint@^10.1.5:
4014-
version "10.1.5"
4015-
resolved "https://registry.yarnpkg.com/textlint/-/textlint-10.1.5.tgz#da8dd16145dfff0ee6c28edfdff120ac454cc980"
4015+
textlint@^10.2.1:
4016+
version "10.2.1"
4017+
resolved "https://registry.yarnpkg.com/textlint/-/textlint-10.2.1.tgz#ee22b7967d59cef7c74a04a5f4e8883134e5c79d"
40164018
dependencies:
40174019
"@textlint/ast-node-types" "^4.0.2"
4018-
"@textlint/ast-traverse" "^2.0.6"
4020+
"@textlint/ast-traverse" "^2.0.8"
40194021
"@textlint/feature-flag" "^3.0.4"
4020-
"@textlint/fixer-formatter" "^3.0.5"
4021-
"@textlint/kernel" "^2.0.7"
4022-
"@textlint/linter-formatter" "^3.0.5"
4023-
"@textlint/textlint-plugin-markdown" "^4.0.8"
4024-
"@textlint/textlint-plugin-text" "^3.0.8"
4022+
"@textlint/fixer-formatter" "^3.0.7"
4023+
"@textlint/kernel" "^2.0.9"
4024+
"@textlint/linter-formatter" "^3.0.7"
4025+
"@textlint/textlint-plugin-markdown" "^4.0.10"
4026+
"@textlint/textlint-plugin-text" "^3.0.10"
40254027
"@types/bluebird" "^3.5.18"
40264028
bluebird "^3.0.5"
40274029
debug "^2.1.0"

0 commit comments

Comments
 (0)