eslint-config-cyprex

1.1.2 • Public • Published

ESLint Shared Configuration by Cyprex

Usage

  1. npm i --save-dev eslint eslint-config-cyprex babel-eslint eslint-plugin-flowtype
  2. Create the .eslintrc file at the root of your project:
    {
      "extends": "cyprex",
      // or if using React (dont forget to add eslint-plugin-react)
      "extends": "cyprex/react",
    }
  3. Add the lint script to your project:
    {
      "scripts": {
        "lint": "eslint --ext .js,.jsx ."
      }
    }
  4. Run npm run lint

Package Sidebar

Install

npm i eslint-config-cyprex

Weekly Downloads

8

Version

1.1.2

License

none

Last publish

Collaborators

  • exon