Skip to content

Commit 3ccf3ef

Browse files
ThomasRmichalsnik
authored andcommitted
Fix missing "vue/" prefix in docs (#587)
1 parent c1c6534 commit 3ccf3ef

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Diff for: docs/rules/html-closing-bracket-newline.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Plus, you can use [`vue/html-indent`](./html-indent.md) rule to enforce indent-l
4242
:-1: Examples of **incorrect** code for this rule:
4343

4444
```html
45-
<!-- eslint html-closing-bracket-newline: "error" -->
45+
<!-- eslint vue/html-closing-bracket-newline: "error" -->
4646

4747
<div id="foo" class="bar"
4848
>
@@ -55,7 +55,7 @@ Plus, you can use [`vue/html-indent`](./html-indent.md) rule to enforce indent-l
5555
:+1: Examples of **correct** code for this rule:
5656

5757
```html
58-
<!-- eslint html-closing-bracket-newline: "error" -->
58+
<!-- eslint vue/html-closing-bracket-newline: "error" -->
5959

6060
<div id="foo" class="bar">
6161
<div
@@ -67,7 +67,7 @@ Plus, you can use [`vue/html-indent`](./html-indent.md) rule to enforce indent-l
6767
:-1: Examples of **incorrect** code for `{ "multiline": "never" }`:
6868

6969
```html
70-
<!-- eslint html-closing-bracket-newline: ["error", { multiline: never }] -->
70+
<!-- eslint vue/html-closing-bracket-newline: ["error", { multiline: never }] -->
7171

7272
<div
7373
id="foo"
@@ -78,7 +78,7 @@ Plus, you can use [`vue/html-indent`](./html-indent.md) rule to enforce indent-l
7878
:+1: Examples of **correct** code for `{ "multiline": "never" }`:
7979

8080
```html
81-
<!-- html-closing-bracket-newline: ["error", { multiline: never }] -->
81+
<!-- eslint vue/html-closing-bracket-newline: ["error", { multiline: never }] -->
8282

8383
<div
8484
id="foo"

Diff for: docs/rules/html-closing-bracket-spacing.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ This rule has options.
3737
Examples of **incorrect** code for this rule:
3838

3939
```html
40-
<!--eslint html-closing-bracket-spacing: "error" -->
40+
<!--eslint vue/html-closing-bracket-spacing: "error" -->
4141

4242
<div >
4343
<div foo >
@@ -51,7 +51,7 @@ Examples of **incorrect** code for this rule:
5151
Examples of **correct** code for this rule:
5252

5353
```html
54-
<!--eslint html-closing-bracket-spacing: "error" -->
54+
<!--eslint vue/html-closing-bracket-spacing: "error" -->
5555

5656
<div>
5757
<div foo>
@@ -63,7 +63,7 @@ Examples of **correct** code for this rule:
6363
```
6464

6565
```html
66-
<!--eslint html-closing-bracket-spacing: ["error", {
66+
<!--eslint vue/html-closing-bracket-spacing: ["error", {
6767
"startTag": "always",
6868
"endTag": "always",
6969
"selfClosingTag": "always"

Diff for: docs/rules/script-indent.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This rule has some options.
2626
:+1: Examples of **correct** code for this rule:
2727

2828
```js
29-
/*eslint script-indent: "error"*/
29+
/*eslint vue/script-indent: "error"*/
3030
<script>
3131
let a = {
3232
foo: 1,
@@ -54,7 +54,7 @@ const d = {
5454
:+1: Examples of **correct** code for this rule:
5555

5656
```js
57-
/*eslint script-indent: ["error", 2, {"baseIndent": 1}]*/
57+
/*eslint vue/script-indent: ["error", 2, {"baseIndent": 1}]*/
5858
<script>
5959
let a = {
6060
foo: 1,

0 commit comments

Comments
 (0)