Skip to content

Commit 1bb1e94

Browse files
DiegoCardosogaearon
authored andcommitted
Added a note with instructions on eslint plugin configuration (#348)
* Added a note with instructions on eslint plugin configuration Since the only editor that I found the issue was Atom, I added just the instruction for the linter-eslint plugin. * Change the format of the instructions and add screenshot.
1 parent 62f7a67 commit 1bb1e94

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

template/README.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ import 'bootstrap/dist/css/bootstrap-theme.css';
253253

254254
```js
255255
import { Navbar, Jumbotron, Button } from 'react-bootstrap';
256-
```
256+
```
257257

258258
Now you are ready to use the imported React Bootstrap components within your component hierarchy defined in the render method. Here is an example [`App.js`](https://gist.githubusercontent.com/gaearon/85d8c067f6af1e56277c82d19fd4da7b/raw/6158dd991b67284e9fc8d70b9d973efe87659d72/App.js) redone using React Bootstrap.
259259

@@ -265,7 +265,14 @@ Some editors, including Sublime Text, Atom, and Visual Studio Code, provide plug
265265

266266
They are not required for linting. You should see the linter output right in your terminal as well as the browser console. However, if you prefer the lint results to appear right in your editor, there are some extra steps you can do.
267267

268-
You would need to install an ESLint plugin for your editor first.
268+
You would need to install an ESLint plugin for your editor first.
269+
270+
>**A note for Atom `linter-eslint` users**
271+
272+
>If you are using the Atom `linter-eslint` plugin, make sure that **Use global ESLint installation** option is checked:
273+
274+
><img src="https://i.imgsafe.org/24b793bcf2.png" width="300">
275+
269276
Then make sure `package.json` of your project ends with this block:
270277

271278
```js

0 commit comments

Comments
 (0)