Skip to content

Commit 27d3444

Browse files
committed
3.2.1
1 parent 1f2e9a8 commit 27d3444

File tree

3 files changed

+104
-98
lines changed

3 files changed

+104
-98
lines changed

doc/rules.md

Lines changed: 97 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ be null or undefined in order to be ignored.
7979
### external
8080

8181
````md
82-
<!-- Load more rules -->
83-
```json
84-
{
85-
"external": ["foo", "bar", "baz"]
86-
}
87-
```
82+
<!-- Load more rules -->
83+
```json
84+
{
85+
"external": ["foo", "bar", "baz"]
86+
}
87+
```
8888
````
8989

9090
External contains a list of extra rules to load.
@@ -99,13 +99,13 @@ rules are also loaded.
9999
### reset
100100

101101
````md
102-
<!-- Explicitly activate rules: -->
103-
```json
104-
{
105-
"reset": true,
106-
"final-newline": true
107-
}
108-
```
102+
<!-- Explicitly activate rules: -->
103+
```json
104+
{
105+
"reset": true,
106+
"final-newline": true
107+
}
108+
```
109109
````
110110

111111
By default, all rules are turned on unless explicitly set to `false`.
@@ -204,28 +204,28 @@ Options: `boolean`, default: `false`.
204204
### code-block-style
205205

206206
````md
207-
<!-- Valid, when set to `indented` or `consistent`, invalid when set to `fenced` -->
208-
Hello
207+
<!-- Valid, when set to `indented` or `consistent`, invalid when set to `fenced` -->
208+
Hello
209209

210-
...
210+
...
211211

212-
World
212+
World
213213

214-
<!-- Valid, when set to `fenced` or `consistent`, invalid when set to `indented` -->
215-
```
216-
Hello
217-
```
218-
...
219-
```bar
220-
World
221-
```
222-
223-
<!-- Always invalid -->
214+
<!-- Valid, when set to `fenced` or `consistent`, invalid when set to `indented` -->
215+
```
224216
Hello
225-
...
226-
```
227-
World
228-
```
217+
```
218+
...
219+
```bar
220+
World
221+
```
222+
223+
<!-- Always invalid -->
224+
Hello
225+
...
226+
```
227+
World
228+
```
229229
````
230230

231231
Warn when code-blocks do not adhere to a given style.
@@ -285,28 +285,28 @@ Options: `boolean`, default: `false`.
285285
### fenced-code-flag
286286

287287
````md
288-
<!-- Valid: -->
289-
```hello
290-
world();
291-
```
292-
293-
<!-- Valid: -->
294-
Hello
295-
296-
<!-- Invalid: -->
297-
```
298-
world();
299-
```
300-
301-
<!-- Valid when given `{allowEmpty: true}`: -->
302-
```
303-
world();
304-
```
305-
306-
<!-- Invalid when given `["world"]`: -->
307-
```hello
308-
world();
309-
```
288+
<!-- Valid: -->
289+
```hello
290+
world();
291+
```
292+
293+
<!-- Valid: -->
294+
Hello
295+
296+
<!-- Invalid: -->
297+
```
298+
world();
299+
```
300+
301+
<!-- Valid when given `{allowEmpty: true}`: -->
302+
```
303+
world();
304+
```
305+
306+
<!-- Invalid when given `["world"]`: -->
307+
```hello
308+
world();
309+
```
310310
````
311311

312312
Warn when fenced code blocks occur without language flag.
@@ -324,32 +324,32 @@ Options: `boolean`, default: `false`.
324324
### fenced-code-marker
325325

326326
````md
327-
<!-- Valid by default and `` '`' ``: -->
328-
```foo
329-
bar();
330-
```
331-
332-
```
333-
baz();
334-
```
335-
336-
<!-- Valid by default and `'~'`: -->
337-
~~~foo
338-
bar();
339-
~~~
340-
341-
~~~
342-
baz();
343-
~~~
344-
345-
<!-- Always invalid: -->
346-
~~~foo
347-
bar();
348-
~~~
349-
350-
```
351-
baz();
352-
```
327+
<!-- Valid by default and `` '`' ``: -->
328+
```foo
329+
bar();
330+
```
331+
332+
```
333+
baz();
334+
```
335+
336+
<!-- Valid by default and `'~'`: -->
337+
~~~foo
338+
bar();
339+
~~~
340+
341+
~~~
342+
baz();
343+
~~~
344+
345+
<!-- Always invalid: -->
346+
~~~foo
347+
bar();
348+
~~~
349+
350+
```
351+
baz();
352+
```
353353
````
354354

355355
Warn for violating fenced code markers.
@@ -970,24 +970,24 @@ Options: `boolean`, default: `false`.
970970
### no-shell-dollars
971971

972972
````md
973-
<!-- Invalid: -->
974-
```bash
975-
$ echo a
976-
$ echo a > file
977-
```
978-
979-
<!-- Valid: -->
980-
```sh
981-
echo a
982-
echo a > file
983-
```
984-
985-
<!-- Also valid: -->
986-
```zsh
987-
$ echo a
988-
a
989-
$ echo a > file
990-
```
973+
<!-- Invalid: -->
974+
```bash
975+
$ echo a
976+
$ echo a > file
977+
```
978+
979+
<!-- Valid: -->
980+
```sh
981+
echo a
982+
echo a > file
983+
```
984+
985+
<!-- Also valid: -->
986+
```zsh
987+
$ echo a
988+
a
989+
$ echo a > file
990+
```
991991
````
992992

993993
Warn when shell code is prefixed by dollar-characters.

history.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
<!--lint disable no-multiple-toplevel-headings -->
44

5+
3.2.1 / 2016-04-26
6+
==================
7+
8+
* Fix incorrect error in `no-heading-content-indent` ([`1f2e9a8`](https://github.com/wooorm/remark-lint/commit/1f2e9a8))
9+
* Fix CRLF line-endings in `hard-break-spaces` ([`31f5069`](https://github.com/wooorm/remark-lint/commit/31f5069))
10+
511
3.2.0 / 2016-04-04
612
==================
713

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "remark-lint",
3-
"version": "3.2.0",
3+
"version": "3.2.1",
44
"description": "Lint markdown with remark",
55
"license": "MIT",
66
"keywords": [

0 commit comments

Comments
 (0)