@westudents/eslint-config-react

1.0.3 • Public • Published

eslint-config-react

javascript style guide NPM version

This package provides Westudents ReactJS .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-react@latest" peerDependencies

If using npm 5+, use this shortcut:

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

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/eslint-config-react" to your .eslintrc as follows

{
    "extends": "@westudents/eslint-config-react"
}

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-react

Weekly Downloads

4

Version

1.0.3

License

MIT

Unpacked Size

6.09 kB

Total Files

8

Last publish

Collaborators

  • rolud
  • gatteo