eslint-config-emplify-react-web

1.2.0 • Public • Published

This README assumes you are using npm 3.

Installation

npm install eslint-config-emplify-react-web --save-dev

Usage

Create a file in the root directory of your project called .eslintrc.js. Fill it out like this:

module.exports = {
  extends: 'eslint-config-emplify-react-web',
  rules: {
    // Project-specific overrides, if any
  }
}

Add a new script to your package.json. For instance, if you want to lint all the JS in the src directory.

{
  "scripts": {
    "lint": "eslint src"
  }
}

Then, from the command line: npm run lint.

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-emplify-react-web

Weekly Downloads

1

Version

1.2.0

License

MIT

Unpacked Size

2.32 kB

Total Files

3

Last publish

Collaborators

  • davideharting
  • emmoistner
  • kpenfound