Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

eslint-config-parsley

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-parsley

eslint shareable config for Parsley Health.

latest
Source
npmnpm
Version
1.3.0
Version published
Weekly downloads
23
1050%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-parsley Build Status

ESLint shareable config for the Parsley Health code style. This script builds on the XO shareable config with small changes and additions.

Install

$ yarn add eslint eslint-config-parsley --dev

Usage

Add the appropriate ESLint config to your package.json:

{
  "scripts": {
    "lint": "eslint"
  },
  "devDependencies": {
    "eslint": "^2.9.0",
    "eslint-config-parsley": "^1.0.0"
  },
  "eslintConfig": {
    "extends": "parsley"
  }
}

Or, put the config in an .eslintrc file:

Lint with

$ npm run lint

FAQs

Package last updated on 29 Aug 2018

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