Skip to content

Commit

Permalink
Remove semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Aug 11, 2021
1 parent 28d4e50 commit 6de4fb7
Show file tree
Hide file tree
Showing 8 changed files with 56 additions and 56 deletions.
24 changes: 12 additions & 12 deletions packages/remark-lint-code-block-style/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,22 @@
*
* @example {"setting": "indented", "name": "ok.md"}
*
* alpha();
* alpha()
*
* Paragraph.
*
* bravo();
* bravo()
*
* @example {"setting": "indented", "name": "not-ok.md", "label": "input"}
*
* ```
* alpha();
* alpha()
* ```
*
* Paragraph.
*
* ```
* bravo();
* bravo()
* ```
*
* @example {"setting": "indented", "name": "not-ok.md", "label": "output"}
Expand All @@ -51,36 +51,36 @@
* @example {"setting": "fenced", "name": "ok.md"}
*
* ```
* alpha();
* alpha()
* ```
*
* Paragraph.
*
* ```
* bravo();
* bravo()
* ```
*
* @example {"setting": "fenced", "name": "not-ok-fenced.md", "label": "input"}
*
* alpha();
* alpha()
*
* Paragraph.
*
* bravo();
* bravo()
*
* @example {"setting": "fenced", "name": "not-ok-fenced.md", "label": "output"}
*
* 1:1-1:13: Code blocks should be fenced
* 5:1-5:13: Code blocks should be fenced
* 1:1-1:12: Code blocks should be fenced
* 5:1-5:12: Code blocks should be fenced
*
* @example {"name": "not-ok-consistent.md", "label": "input"}
*
* alpha();
* alpha()
*
* Paragraph.
*
* ```
* bravo();
* bravo()
* ```
*
* @example {"name": "not-ok-consistent.md", "label": "output"}
Expand Down
24 changes: 12 additions & 12 deletions packages/remark-lint-code-block-style/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ When configured with `'indented'`.
###### In

```markdown
alpha();
alpha()

Paragraph.

bravo();
bravo()
```

###### Out
Expand All @@ -66,13 +66,13 @@ When configured with `'indented'`.

````markdown
```
alpha();
alpha()
```

Paragraph.

```
bravo();
bravo()
```
````

Expand All @@ -91,13 +91,13 @@ When configured with `'fenced'`.

````markdown
```
alpha();
alpha()
```

Paragraph.

```
bravo();
bravo()
```
````

Expand All @@ -112,31 +112,31 @@ When configured with `'fenced'`.
###### In

```markdown
alpha();
alpha()

Paragraph.

bravo();
bravo()
```

###### Out

```text
1:1-1:13: Code blocks should be fenced
5:1-5:13: Code blocks should be fenced
1:1-1:12: Code blocks should be fenced
5:1-5:12: Code blocks should be fenced
```

##### `not-ok-consistent.md`

###### In

````markdown
alpha();
alpha()

Paragraph.

```
bravo();
bravo()
```
````

Expand Down
12 changes: 6 additions & 6 deletions packages/remark-lint-fenced-code-flag/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
* @example {"name": "ok.md"}
*
* ```alpha
* bravo();
* bravo()
* ```
*
* @example {"name": "not-ok.md", "label": "input"}
*
* ```
* alpha();
* alpha()
* ```
*
* @example {"name": "not-ok.md", "label": "output"}
Expand All @@ -34,13 +34,13 @@
* @example {"name": "ok.md", "setting": {"allowEmpty": true}}
*
* ```
* alpha();
* alpha()
* ```
*
* @example {"name": "not-ok.md", "setting": {"allowEmpty": false}, "label": "input"}
*
* ```
* alpha();
* alpha()
* ```
*
* @example {"name": "not-ok.md", "setting": {"allowEmpty": false}, "label": "output"}
Expand All @@ -50,13 +50,13 @@
* @example {"name": "ok.md", "setting": ["alpha"]}
*
* ```alpha
* bravo();
* bravo()
* ```
*
* @example {"name": "not-ok.md", "setting": ["charlie"], "label": "input"}
*
* ```alpha
* bravo();
* bravo()
* ```
*
* @example {"name": "not-ok.md", "setting": ["charlie"], "label": "output"}
Expand Down
12 changes: 6 additions & 6 deletions packages/remark-lint-fenced-code-flag/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ This rule is included in the following presets:

````markdown
```alpha
bravo();
bravo()
```
````

Expand All @@ -51,7 +51,7 @@ No messages.

````markdown
```
alpha();
alpha()
```
````

Expand All @@ -69,7 +69,7 @@ When configured with `{ allowEmpty: true }`.

````markdown
```
alpha();
alpha()
```
````

Expand All @@ -85,7 +85,7 @@ When configured with `{ allowEmpty: false }`.

````markdown
```
alpha();
alpha()
```
````

Expand All @@ -103,7 +103,7 @@ When configured with `[ 'alpha' ]`.

````markdown
```alpha
bravo();
bravo()
```
````

Expand All @@ -119,7 +119,7 @@ When configured with `[ 'charlie' ]`.

````markdown
```alpha
bravo();
bravo()
```
````

Expand Down
18 changes: 9 additions & 9 deletions packages/remark-lint-fenced-code-marker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,36 +26,36 @@
*
* Indented code blocks are not affected by this rule:
*
* bravo();
* bravo()
*
* @example {"name": "ok.md", "setting": "`"}
*
* ```alpha
* bravo();
* bravo()
* ```
*
* ```
* charlie();
* charlie()
* ```
*
* @example {"name": "ok.md", "setting": "~"}
*
* ~~~alpha
* bravo();
* bravo()
* ~~~
*
* ~~~
* charlie();
* charlie()
* ~~~
*
* @example {"name": "not-ok-consistent-tick.md", "label": "input"}
*
* ```alpha
* bravo();
* bravo()
* ```
*
* ~~~
* charlie();
* charlie()
* ~~~
*
* @example {"name": "not-ok-consistent-tick.md", "label": "output"}
Expand All @@ -65,11 +65,11 @@
* @example {"name": "not-ok-consistent-tilde.md", "label": "input"}
*
* ~~~alpha
* bravo();
* bravo()
* ~~~
*
* ```
* charlie();
* charlie()
* ```
*
* @example {"name": "not-ok-consistent-tilde.md", "label": "output"}
Expand Down
18 changes: 9 additions & 9 deletions packages/remark-lint-fenced-code-marker/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ This rule is included in the following presets:
```markdown
Indented code blocks are not affected by this rule:

bravo();
bravo()
```

###### Out
Expand All @@ -59,11 +59,11 @@ No messages.

````markdown
```alpha
bravo();
bravo()
```

~~~
charlie();
charlie()
~~~
````

Expand All @@ -79,11 +79,11 @@ charlie();

````markdown
~~~alpha
bravo();
bravo()
~~~

```
charlie();
charlie()
```
````

Expand All @@ -101,11 +101,11 @@ When configured with ``'`'``.

````markdown
```alpha
bravo();
bravo()
```

```
charlie();
charlie()
```
````

Expand All @@ -121,11 +121,11 @@ When configured with `'~'`.

```markdown
~~~alpha
bravo();
bravo()
~~~

~~~
charlie();
charlie()
~~~
```

Expand Down
2 changes: 1 addition & 1 deletion packages/remark-lint-no-shell-dollars/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* It’s fine to use dollars in non-shell code.
*
* ```js
* $('div').remove();
* $('div').remove()
* ```
*
* @example {"name": "not-ok.md", "label": "input"}
Expand Down
2 changes: 1 addition & 1 deletion packages/remark-lint-no-shell-dollars/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Some empty code:
It’s fine to use dollars in non-shell code.

```js
$('div').remove();
$('div').remove()
```
````

Expand Down

0 comments on commit 6de4fb7

Please sign in to comment.