Skip to content

Commit

Permalink
[Docs] clean up linting errors in installation guides
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jun 17, 2017
1 parent ad97e30 commit 6bf1c12
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/installation/react-013.md
Expand Up @@ -18,12 +18,15 @@ And then you're ready to go! In your test files you can simply `require` or `im
ES6:
```js
import { shallow, mount, render } from 'enzyme';

const wrapper = shallow(<Foo />);
```

ES5:
<!-- eslint no-var: 0 -->
```js
var enzyme = require('enzyme');

var wrapper = enzyme.shallow(<Foo />);
```

3 changes: 3 additions & 0 deletions docs/installation/react-014.md
Expand Up @@ -24,12 +24,15 @@ And then you're ready to go! In your test files you can simply `require` or `im
ES6:
```js
import { shallow, mount, render } from 'enzyme';

const wrapper = shallow(<Foo />);
```

ES5:
<!-- eslint no-var: 0 -->
```js
var enzyme = require('enzyme');

var wrapper = enzyme.shallow(<Foo />);
```

Expand Down
3 changes: 3 additions & 0 deletions docs/installation/react-15.md
Expand Up @@ -24,11 +24,14 @@ And then you're ready to go! In your test files you can simply `require` or `im
ES6:
```js
import { shallow, mount, render } from 'enzyme';

const wrapper = shallow(<Foo />);
```

ES5:
<!-- eslint no-var: 0 -->
```js
var enzyme = require('enzyme');

var wrapper = enzyme.shallow(<Foo />);
```

0 comments on commit 6bf1c12

Please sign in to comment.