Skip to content

Commit 97aad44

Browse files
author
Diogo Franco
committed
Use 'jsx' instead of 'js' in the JSX code block fences
1 parent 0828b8c commit 97aad44

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

docs/rules/jsx-tag-spacing.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ If it is `"never"`, the check warns whenever a space is separating the two chara
2828

2929
The following patterns are considered warnings when configured `"never"`:
3030

31-
```js
31+
```jsx
3232
<App/ >
3333
<input/
3434
>
@@ -37,22 +37,22 @@ The following patterns are considered warnings when configured `"never"`:
3737

3838
The following patterns are not considered warnings when configured `"never"`:
3939

40-
```js
40+
```jsx
4141
<App/>
4242
<input/>
4343
<Provider></Provider>
4444
```
4545

4646
The following patterns are considered warnings when configured `"always"`:
4747

48-
```js
48+
```jsx
4949
<Hello/>
5050
<Goodbye></Goodbye>
5151
```
5252

5353
The following patterns are not considered warnings when configured `"never"`:
5454

55-
```js
55+
```jsx
5656
<Hello/ >
5757
<Goodbye>< /Goodbye>
5858
```
@@ -65,14 +65,14 @@ If it is `"always"`, the check warns whenever a space is missing before the clos
6565

6666
The following patterns are considered warnings when configured `"always"`:
6767

68-
```js
68+
```jsx
6969
<Hello/>
7070
<Hello firstname="John"/>
7171
```
7272

7373
The following patterns are not considered warnings when configured `"always"`:
7474

75-
```js
75+
```jsx
7676
<Hello />
7777
<Hello firstName="John" />
7878
<Hello
@@ -83,14 +83,14 @@ The following patterns are not considered warnings when configured `"always"`:
8383

8484
The following patterns are considered warnings when configured `"never"`:
8585

86-
```js
86+
```jsx
8787
<Hello />
8888
<Hello firstName="John" />
8989
```
9090

9191
The following patterns are not considered warnings when configured `"never"`:
9292

93-
```js
93+
```jsx
9494
<Hello/>
9595
<Hello firstname="John"/>
9696
<Hello
@@ -107,7 +107,7 @@ If it is `"always"`, the check warns whenever a space is missing after the openi
107107

108108
The following patterns are considered warnings when configured `"always"`:
109109

110-
```js
110+
```jsx
111111
<Hello></Hello>
112112
<Hello firstname="John"/>
113113
<Hello
@@ -118,7 +118,7 @@ The following patterns are considered warnings when configured `"always"`:
118118

119119
The following patterns are not considered warnings when configured `"always"`:
120120

121-
```js
121+
```jsx
122122
< Hello></ Hello>
123123
< Hello firstName="John"/>
124124
<
@@ -130,7 +130,7 @@ The following patterns are not considered warnings when configured `"always"`:
130130

131131
The following patterns are considered warnings when configured `"never"`:
132132

133-
```js
133+
```jsx
134134
< Hello></ Hello>
135135
< Hello firstName="John"/>
136136
<
@@ -142,7 +142,7 @@ The following patterns are considered warnings when configured `"never"`:
142142

143143
The following patterns are not considered warnings when configured `"never"`:
144144

145-
```js
145+
```jsx
146146
<Hello></Hello>
147147
<Hello firstname="John"/>
148148
<Hello
@@ -153,7 +153,7 @@ The following patterns are not considered warnings when configured `"never"`:
153153

154154
The following patterns are considered warnings when configured `"allow-multiline"`:
155155

156-
```js
156+
```jsx
157157
< Hello></ Hello>
158158
< Hello firstName="John"/>
159159
< Hello
@@ -164,7 +164,7 @@ The following patterns are considered warnings when configured `"allow-multiline
164164

165165
The following patterns are not considered warnings when configured `"allow-multiline"`:
166166

167-
```js
167+
```jsx
168168
<Hello></Hello>
169169
<Hello firstName="John"/>
170170
<

0 commit comments

Comments
 (0)