@joyeecheung/eslint-config-node-core
v1.1.0
Published
Sharable ESLint configurations following the style guide of Node.js core
Downloads
5
Readme
eslint-plugin-node-core
Sharable ESLint configurations following the style guide of Node.js core.
Original source code comes from the nodejs/node repo.
Depends on @joyeecheung/eslint-plugin-node-core.
Update
This project is generated with update.js.
git clone [email protected]:joyeecheung/eslint-config-node-core.git
cd eslint-config-node-core.git
npm install
# Generates base.json and lib.json
./update.js /path/to/node/project
Usage
See examples.
Install the peer dependencies
npm install --save-dev eslint eslint-plugin-markdown babel-eslint @joyeecheung/eslint-plugin-node-core
In your
.eslintrc.json
(or.eslintrc.yaml
, then you would need to use the yaml syntax for the configurations).{ "extends": "@joyeecheung/eslint-config-node-core" }
Or if you want to use the styles of the lib/ directory in Node.js core:
{ "extends": "@joyeecheung/eslint-config-node-core/lib" }