You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[textlint](https://textlint.github.io/"textlint official site") rule integrate with ESLint.
4
+
[textlint](https://textlint.github.io/"textlint official site") rule to lint JavaScript in Markdown with ESLint.
5
5
6
-
## UseCase
6
+
## Use case
7
7
8
-
ESLint can lint markdown file using [eslint/eslint-plugin-markdown](https://github.com/eslint/eslint-plugin-markdown"eslint/eslint-plugin-markdown").
9
-
But, eslint-plugin-markdown don't support disabling Markdown(HTML) comment for ignoring some CodeBlock.
8
+
ESLint can lint Markdown files using [eslint-plugin-markdown](https://github.com/eslint/eslint-plugin-markdown"eslint/eslint-plugin-markdown"). But eslint-plugin-markdown doesn't support disabling Markdown (HTML) comments for ignoring some CodeBlocks.
10
9
11
-
[textlint](https://textlint.github.io/"textlint official site") can filter specified CodeBlock using [textlint-filter-rule-comments](https://github.com/textlint/textlint-filter-rule-comments"textlint-filter-rule-comments").
10
+
[textlint](https://textlint.github.io/"textlint official site") can filter some CodeBlocks using [textlint-filter-rule-comments](https://github.com/textlint/textlint-filter-rule-comments"textlint-filter-rule-comments"):
12
11
13
12
<!-- textlint-disable -->
14
13
@@ -19,7 +18,7 @@ But, eslint-plugin-markdown don't support disabling Markdown(HTML) comment for i
19
18
<!-- textlint-enable -->
20
19
21
20
22
-
Sometimes, we want to write broken JavaScript code into JS CodeBlock for Syntax Highlight.
21
+
Sometimes, we want to write broken JavaScript code into a JS CodeBlock for syntax highlight:
23
22
24
23
25
24
This is error example of parsing:
@@ -33,7 +32,7 @@ Sometimes, we want to write broken JavaScript code into JS CodeBlock for Syntax
33
32
34
33
<!-- textlint-enable eslint -->
35
34
36
-
## Install
35
+
## Installation
37
36
38
37
Install with [npm](https://www.npmjs.com/):
39
38
@@ -42,7 +41,7 @@ Install with [npm](https://www.npmjs.com/):
0 commit comments