Skip to content

Commit 059cb97

Browse files
committed
chore(lint): Fix markdown lint errors
1 parent 3d860d9 commit 059cb97

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -1530,6 +1530,7 @@ Other Code Conventions:
15301530
15311531
const isJedi = getProp('jedi');
15321532
```
1533+
15331534
<a name="es2016-properties--exponentiation-operator"></a>
15341535
- [12.3](#es2016-properties--exponentiation-operator) Use exponentiation operator `**` when calculating exponentiations. eslint: [`no-restricted-properties`](https://eslint.org/docs/rules/no-restricted-properties).
15351536

@@ -1643,6 +1644,7 @@ Other Code Conventions:
16431644
return name;
16441645
}
16451646
```
1647+
16461648
<a name="variables--no-chain-assignment"></a><a name="13.5"></a>
16471649
- [13.5](#variables--no-chain-assignment) Don’t chain variable assignments. eslint: [`no-multi-assign`](https://eslint.org/docs/rules/no-multi-assign)
16481650
@@ -2749,6 +2751,7 @@ Other Code Conventions:
27492751
- [19.19](#whitespace--no-multiple-empty-lines) Avoid multiple empty lines and only allow one newline at the end of files. eslint: [`no-multiple-empty-lines`](https://eslint.org/docs/rules/no-multiple-empty-lines)
27502752

27512753
<!-- markdownlint-disable MD012 -->
2754+
27522755
```javascript
27532756
// bad
27542757
var x = 1;
@@ -2762,6 +2765,7 @@ Other Code Conventions:
27622765
27632766
var y = 2;
27642767
```
2768+
27652769
<!-- markdownlint-enable MD012 -->
27662770

27672771
**[⬆ back to top](#table-of-contents)**

react/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ This style guide is mostly based on the standards that are currently prevalent i
111111
// good
112112
import Footer from './Footer';
113113
```
114+
114115
- **Higher-order Component Naming**: Use a composite of the higher-order component's name and the passed-in component's name as the `displayName` on the generated component. For example, the higher-order component `withFoo()`, when passed a component `Bar` should produce a component with a `displayName` of `withFoo(Bar)`.
115116
116117
> Why? A component's `displayName` may be used by developer tools or in error messages, and having a value that clearly expresses this relationship helps people understand what is happening.

0 commit comments

Comments
 (0)