Socket
Socket
Sign inDemoInstall

eslint-config-getninjas

Package Overview
Dependencies
0
Maintainers
10
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-config-getninjas

GetNinjas eslint config


Version published
Weekly downloads
29
decreased by-27.5%
Maintainers
10
Created
Weekly downloads
 

Readme

Source

eslint-config-getninjas

npm version

This is our eslint config, to centralize and to distribute this config by npm. We are extending eslint-config-airbnb-base (not the eslint-config-airbnb, because we don't have necessity of eslint-plugin-jsx-a11y and eslint-plugin-react - for now).

Installing

On your project, run the code below:

( export PKG=eslint-config-getninjas;   npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"; )

Installing globally

Some editors (like Vim) runs eslint globally, so you need to install eslint dependencies on your environment. To install it, just:

( export PKG=eslint-config-getninjas;   npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install -g "$PKG@latest"; )

Usage

We export two ESLint configurations for your usage.

eslint-config-getninjas

Add "extends": "getninjas" to your .eslintrc.

eslint-config-getninjas/legacy

Add "extends": "getninjas/legacy" to your .eslintrc.

Keywords

FAQs

Last updated on 28 Oct 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc