@westudents/eslint-config-node

1.1.0 • Public • Published

eslint-config-node

javascript style guide NPM version

This package provides Westudents node .eslintrc as an extensible shared config.

Getting Started

Install

The package requires eslint and some other dependencies to work, which you can list via:

npm info "@westudents/eslint-config-node@latest" peerDependencies

If using npm 5+, use this shortcut:

npx install-peerdeps --dev @westudents/eslint-config-node

If using npm < 5, Linux/OSX users can run

(
export PKG=eslint-config-airbnb-base;
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)

If using npm < 5, Windows users can either install all the peer dependencies manually, or use the install-peerdeps cli tool.

npm install -g install-peerdeps
install-peerdeps --dev eslint-config-airbnb-base

Usage

Add "extends": "@westudents/node" to your .eslintrc as follows

{
    "extends": "@westudents/node"
}

Badge

Feel free to add this badge to your README file.

javascript style guide

[![javascript style guide](https://img.shields.io/badge/code_style-standard--westudents-orange.svg)](https://github.com/westudents/eslint-config-node)

Readme

Keywords

none

Package Sidebar

Install

npm i @westudents/eslint-config-node

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

7.04 kB

Total Files

9

Last publish

Collaborators

  • rolud
  • gatteo