Skip to content

Commit

Permalink
Use 'jsx' instead of 'js' in the JSX code block fences
Browse files Browse the repository at this point in the history
  • Loading branch information
Diogo Franco committed Aug 25, 2016
1 parent 110486f commit 7028de0
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions docs/rules/jsx-tag-spacing.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ If it is `"never"`, the check warns whenever a space is separating the two chara

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

```js
```jsx
<App/ >
<input/
>
Expand All @@ -37,22 +37,22 @@ The following patterns are considered warnings when configured `"never"`:

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

```js
```jsx
<App/>
<input/>
<Provider></Provider>
```

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

```js
```jsx
<Hello/>
<Goodbye></Goodbye>
```

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

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

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

```js
```jsx
<Hello/>
<Hello firstname="John"/>
```

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

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

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

```js
```jsx
<Hello />
<Hello firstName="John" />
```

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

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

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

```js
```jsx
<Hello></Hello>
<Hello firstname="John"/>
<Hello
Expand All @@ -118,7 +118,7 @@ The following patterns are considered warnings when configured `"always"`:

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

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

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

```js
```jsx
< Hello></ Hello>
< Hello firstName="John"/>
<
Expand All @@ -142,7 +142,7 @@ The following patterns are considered warnings when configured `"never"`:

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

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

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

```js
```jsx
< Hello></ Hello>
< Hello firstName="John"/>
< Hello
Expand All @@ -164,7 +164,7 @@ The following patterns are considered warnings when configured `"allow-multiline

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

```js
```jsx
<Hello></Hello>
<Hello firstName="John"/>
<
Expand Down

0 comments on commit 7028de0

Please sign in to comment.