Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-powel

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-powel

Powel ESLint configs

  • 1.5.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
93
increased by38.81%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-powel

Version npm

ESLint configuration presets for Powel projects.

Usage

Common

npm i -D eslint eslint-config-powel eslint-config-semistandard

Add to your .eslintrc

{
  "extends": "powel"
}

Babel

To use the Babel rule set:

npm i -D eslint eslint-config-powel babel-eslint eslint-plugin-babel

Add this to your .eslintrc:

{
  "extends": "powel/babel"
}

Flow

To use the flow rule set:

npm i -D eslint eslint-config-powel babel-eslint eslint-plugin-flowtype eslint-plugin-flowtype-errors

Add this to your .eslintrc:

{
  "extends": "powel/flow"
}

React

To use the React rule set:

npm i -D eslint eslint-config-powel eslint-plugin-react

Add this to your .eslintrc:

{
  "extends": "powel/react"
}

Import

To use the eslint-plugin-import rule set:

npm i -D eslint eslint-config-powel eslint-plugin-import

Add this to your .eslintrc:

{
  "extends": "powel/import"
}

Composition

You can use any combination of these presets.

Install the dependencies:

npm i -D eslint eslint-config-powel eslint-config-semistandard babel-eslint eslint-plugin-babel eslint-plugin-flowtype eslint-plugin-flowtype-errors eslint-plugin-import eslint-plugin-react

.eslintrc:

{
  "extends": [
    "powel",
    "powel/babel",
    "powel/flow",
    "powel/import",
    "powel/react"
  ],
  "rules": {
    // custom tweaks
  }
}

FAQs

Package last updated on 30 Oct 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc