npm clarification
This commit is contained in:
parent
836137488d
commit
1fa9833832
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ Most linters are integrated with editors: just enable the plugin in the editor a
|
||||||
For instance, for ESLint you should do the following:
|
For instance, for ESLint you should do the following:
|
||||||
|
|
||||||
1. Install [Node.JS](https://nodejs.org/).
|
1. Install [Node.JS](https://nodejs.org/).
|
||||||
2. Install ESLint with the command `npm install -g eslint` (npm is Node.JS package installer).
|
2. Install ESLint with the command `npm install -g eslint` (npm is a JavaScript package installer).
|
||||||
3. Create a config file named `.eslintrc` in the root of your JavaScript project (in the folder that contains all your files).
|
3. Create a config file named `.eslintrc` in the root of your JavaScript project (in the folder that contains all your files).
|
||||||
|
|
||||||
Here's an example of `.eslintrc`:
|
Here's an example of `.eslintrc`:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue