Skip to content

Commit

Permalink
[Docs] fix doc linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Mar 2, 2018
1 parent 8ee8f06 commit 3211a0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/guides/migration-from-2-to-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ return 3 and not 1 as in previous versions. A closer look using
[`debug`](../api/ReactWrapper/debug.md) reveals:

<!-- eslint react/prop-types: 0, react/prefer-stateless-function: 0 -->

<!-- eslint-skip -->
```jsx
// console.log(wrapper.find('[aria-expanded="true"]').debug());

Expand Down Expand Up @@ -465,7 +465,7 @@ To return only the html nodes use the

`wrapper.find("[aria-expanded=true]").hostNodes().debug()` will now return:

<!-- eslint react/prop-types: 0, react/prefer-stateless-function: 0 -->
<!-- eslint react/prop-types: 0, react/prefer-stateless-function: 0, no-unused-expressions: 0, jsx-a11y/anchor-is-valid: 0 -->

```jsx
<a aria-expanded="true">foo</a>;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-markdown": "^1.0.0-beta.6",
"eslint-plugin-markdown": "^1.0.0-beta.7",
"eslint-plugin-react": "^7.6.1",
"gitbook-cli": "^1.0.1",
"gitbook-plugin-anchors": "^0.7.1",
Expand Down

0 comments on commit 3211a0e

Please sign in to comment.