1.0.2 • Published 4 years ago

@noxu/eslint-config-react v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

@noxu/eslint-config-react

npm version

This package provides Noxu's base JS .eslintrc with React plugins as an extensible shared config.

Under the hood this package rely on airbnb styleguide and prettier for automatic indentation.

Usage

Our default export contains all of our ESLint rules, including ECMAScript 6+.

  1. Install the correct versions of each package, which are listed by the command:

    npm info "@noxu/eslint-config-react@latest" peerDependencies

    If using npm 5+, use this shortcut

    npx install-peerdeps --dev @noxu/eslint-config-react
  2. Add "extends": "@noxu/eslint-config-react" to your .eslintrc.