Skip to content

Commit 2ddedd5

Browse files
committed
[meta] ensure trailing newlines on files
1 parent 6d7e5a1 commit 2ddedd5

32 files changed

+32
-32
lines changed

.github/workflows/readme.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
with:
1414
node-version: 'lts/*'
1515
skip-ls-check: true
16-
- run: npm run generate-list-of-rules
16+
- run: npm run generate-list-of-rules

docs/rules/button-has-type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ var Hello = React.createElement('button', {type: condition ? "button" : "reset"}
6060

6161
## When Not To Use It
6262

63-
If you use only `"submit"` buttons, you can disable this rule
63+
If you use only `"submit"` buttons, you can disable this rule

docs/rules/destructuring-assignment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,4 @@ When configured with `true`, the rule will ignore class field declarations. Exam
103103
class Foo extends React.PureComponent {
104104
bar = this.props.bar
105105
}
106-
```
106+
```

docs/rules/display-name.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,4 @@ For now we should detect components created with:
120120

121121
* `createReactClass()`
122122
* an ES6 class that inherit from `React.Component` or `Component`
123-
* a stateless function that return JSX or the result of a `React.createElement` call.
123+
* a stateless function that return JSX or the result of a `React.createElement` call.

docs/rules/jsx-boolean-value.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ var Hello = <Hello personal={true} />;
3636

3737
## When Not To Use It
3838

39-
If you do not want to enforce any style for boolean attributes, then you can disable this rule.
39+
If you do not want to enforce any style for boolean attributes, then you can disable this rule.

docs/rules/jsx-closing-tag-location.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ Examples of **correct** code for this rule:
3535

3636
## When not to use
3737

38-
If you do not care about closing tag JSX alignment then you can disable this rule.
38+
If you do not care about closing tag JSX alignment then you can disable this rule.

docs/rules/jsx-curly-brace-presence.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,4 @@ Examples of **correct** code for this rule, even when configured with `"never"`:
156156

157157
## When Not To Use It
158158

159-
You should turn this rule off if you are not concerned about maintaining consistency regarding the use of curly braces in JSX props and/or children as well as the use of unnecessary JSX expressions.
159+
You should turn this rule off if you are not concerned about maintaining consistency regarding the use of curly braces in JSX props and/or children as well as the use of unnecessary JSX expressions.

docs/rules/jsx-equals-spacing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ Examples of **correct** code for this rule, when configured with `"always"`:
5959

6060
## When Not To Use It
6161

62-
You can turn this rule off if you are not concerned with the consistency of spacing around equal signs in JSX attributes.
62+
You can turn this rule off if you are not concerned with the consistency of spacing around equal signs in JSX attributes.

docs/rules/jsx-filename-extension.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ The set of allowed extensions is configurable. By default '.jsx' is allowed. If
4646

4747
## When Not To Use It
4848

49-
If you don't care about restricting the file extensions that may contain JSX.
49+
If you don't care about restricting the file extensions that may contain JSX.

docs/rules/jsx-first-prop-new-line.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,4 @@ Examples of **correct** code for this rule, when configured with `"multiline-mul
107107

108108
## When not to use
109109

110-
If you are not using JSX then you can disable this rule.
110+
If you are not using JSX then you can disable this rule.

0 commit comments

Comments
 (0)