📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

eslint-config-cyprex

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-cyprex

Cyprex shared eslint config

1.1.2
latest
Source
npm
Version published
Weekly downloads
10
11.11%
Maintainers
1
Weekly downloads
 
Created
Source

ESLint Shared Configuration by Cyprex

Usage

  • npm i --save-dev eslint eslint-config-cyprex babel-eslint eslint-plugin-flowtype
  • 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",
    }
    
  • Add the lint script to your project:
    {
      "scripts": {
        "lint": "eslint --ext .js,.jsx ."
      }
    }
    
  • Run npm run lint

Keywords

eslint

FAQs

Package last updated on 14 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts