Skip to content

Eslint config for NodeJS with ES6 nodeJS inspired by Node Repository

License

Notifications You must be signed in to change notification settings

pgdejardin/eslint-config-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-nodejs

npm version

This package provides a NodeJS with ES6 .eslintrc as an extensible shared config.

Prerequisites

Since this package is a Eslint Sharing Config, it requires the npm package of eslint and eslint-plugin-import.

Installation

npm i -D eslint eslint-plugin-import eslint-config-nodejs

Then add the plugin in your .eslintrc like described in the eslint's documentation

{
    "extends": [
        "nodejs"
    ]
}

TODO

 - add tests