unified-lint-rule
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "unified-lint-rule", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Create a linting rule for a unified processors", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -1,12 +0,7 @@ | ||
<!--This file is generated--> | ||
# unified-lint-rule | ||
# remark-lint-blockquote-indentation | ||
Create a simple linting rule for a unified processors. | ||
Warn when blockquotes are either indented too much or too little. | ||
Each rule in **remark-lint** uses this project. See [remark-lint](https://github.com/wooorm/remark-lint) for examples! | ||
Options: `number`, default: `'consistent'`. | ||
The default value, `consistent`, detects the first used indentation | ||
and will warn when other blockquotes use a different indentation. | ||
## Install | ||
@@ -18,52 +13,4 @@ | ||
## Example | ||
When this rule is `2`, the following file | ||
`valid.md` is ok: | ||
```markdown | ||
<!--This file is also valid by default--> | ||
> Hello | ||
Paragraph. | ||
> World | ||
``` | ||
When this rule is `4`, the following file | ||
`valid.md` is ok: | ||
```markdown | ||
<!--This file is also valid by default--> | ||
> Hello | ||
Paragraph. | ||
> World | ||
``` | ||
When this rule is turned on, the following file | ||
`invalid.md` is **not** ok: | ||
```markdown | ||
> Hello | ||
Paragraph. | ||
> World | ||
Paragraph. | ||
> World | ||
``` | ||
```text | ||
5:3: Remove 1 space between blockquote and content | ||
9:3: Add 1 space between blockquote and content | ||
``` | ||
## License | ||
[MIT](https://github.com/wooorm/remark-lint/blob/master/LICENSE) © [Titus Wormer](http://wooorm.com) |
3426
16